Description Usage Arguments Value
This function will create one possible simulated relationship between sensitivity and exposure
1 2 3 4 5 6 7 8 9 10 |
interpop_var |
The inter-population variation in the error of temperature (basically causes populations to vary in the interannual variability in temp, as Ben suggested) |
avg_sensitivity |
The beta of sensitivity (laying date ~ temperature) |
sd_sensitivity |
The sd of the random slope term for laying date ~ temperature across pops |
resid_sense |
The residual error in sensitivity (laying date ~ temperature) |
avg_exposure |
The beta of exposure (temperature ~ year) |
sd_exposure |
The sd of the random slope term for exposure (temperature ~ year) across pops |
resid_exp |
The residual error in exposure (temperature ~ year) |
return |
Should the function return a plot ("plot") or the Pearson's correlation of sensitivity and exposure ("cor"). |
Either a ggplot object ('plot') or numeric value representing the Pearson's correlation between sensitivity and exposure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.