Some R packages and R code that I have written:
R Package ´odprism´:
Optimal Design and Performance of Random Intercept and Slope Models.
The package provides simulation functions to assess the optimal
design and performance of random intercept and slope models (i.e.
mixed models), which can be used to a priori determine adequate
sampling designs for e.g. reaction norm studies. The
package can be downloaded from the
CRAN website as well as a
See also van de Pol,
M. Quantifying individual variation in reaction norms: how study
design affects the accuracy, precision and power of random regression
Methods in Ecology & Evolution,
New method to
identify the critical climatic window for trait expression, that
extends existing sliding window approaches. The method is
described in van de Pol & Cockburn (2011) American
Naturalist 177: 698-707 and used in van
de Pol et al. (2011). Journal
Ecology, doi: 10.1111/j.1365-2656.2011.01919.x.
and an improved version of the
R code as well as handy
plotting functions can be downloaded.