Description Usage Arguments Value Examples
plot_raw
Plots raw data and fitted models for a
specified set of studies.
1 2 |
data |
A dataframe containing per each study the time series of relevant variables (i.e. yearly climate values, yearly trait values or yearly selection differentials) to be analyzed. |
temperature |
A boolean indicating if the temperature data should be extracted (default is FALSE). |
precipitation |
A boolean indicating if the precipitation data should be extracted (default is FALSE). |
phenology |
A boolean indicating if the phenological data should be extracted (default is FALSE). |
morphology |
A boolean indicating if the morphological data should be extracted (default is FALSE). |
condition |
A character specifying which condition is to be tested (for more details see Radchuk et al. (in review)):
|
id_to_do |
A list of study ids for which to plot the raw data and fitted models. |
A plot showing the raw data points and fitted models for a specified subset of studies.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
pdf('./test_sel.pdf', height = 10, width = 7)
par(oma = c(2, 2, 0, 0), mar = c(1, 2, 3, 1))
plot_raw(data = dat_Sel, temperature = TRUE,
precipitation = FALSE, phenology = TRUE,
morphology = FALSE, condition = '3',
id_to_do = c(1:19))
dev.off()
pdf('./test_traits.pdf', height = 10, width = 7)
par(oma = c(2, 2, 0, 0), mar = c(1, 2, 3, 1))
plot_raw(data = dat_Trait, temperature = TRUE,
precipitation = FALSE, phenology = TRUE,
morphology = FALSE, condition = '2',
id_to_do = c(1:20))
dev.off()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.