CollinWoo / daynight-Q10

MIT License
2 stars 0 forks source link

Visualizations #17

Open bpbond opened 4 years ago

bpbond commented 4 years ago

Hi @10aDing can you paste in some of your current data visualizations so we can discuss.

Also to-do from our call: join MAT/MAP with Q10 tables, and then graph MAT (x) versus MAP (y), coloring points by computed Q10.

bpbond commented 4 years ago

Re Q10 over time graphs:

bpbond commented 4 years ago

Another great visualization would be plot the sites on a world map. For example:

library(sp)
library(leaflet)
df <- data.frame(label = paste(desc$CSR_DATASET, desc$CSR_SITE_NAME),
                 lon = desc$CSR_LONGITUDE, lat = desc$CSR_LATITUDE)
df <- subset(df, !is.na(lon) & !is.na(lat))
coordinates(df) <- ~lon + lat
lflt <- addMarkers(leaflet(df), label = df$label)
addTiles(lflt)
CollinWoo commented 4 years ago

Should I separate based on depth for the Q10 over time graphs?

bpbond commented 4 years ago

Hmm good question. I would try plotting all, but if that gets too busy, maybe just pick T5 for example.

CollinWoo commented 4 years ago

For the MAT vs. MAP plot with color by Q10, aren't there many different Q10s for each MAT/MAP pair (one for each month)? How would I show all the different colors? Should I average the Q10s for each site?

CollinWoo commented 4 years ago

Data visualizations Q10 By Dataset Q10 Distribution R2 By Dataset R2 Distribution tile1 tile2

bpbond commented 4 years ago

Nice job! Are these for Rs, Rh, both combined?

bpbond commented 4 years ago

For the MAT vs. MAP plot with color by Q10, aren't there many different Q10s for each MAT/MAP pair (one for each month)? How would I show all the different colors? Should I average the Q10s for each site?

Good question. Maybe start by trying geom_jitter() instead of geom_point(), which will spread out the points around the MAT/MAP location.