MyScience   Martijn van de Pol        

PDFs >>



Statistical software


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 manual. See also van de Pol, M. Quantifying individual variation in reaction norms: how study design affects the accuracy, precision and power of random regression models. Methods in Ecology & Evolution, doi: 10.1111/j.2041-210X.2011.00160.x.

  • 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 of Animal Ecology, doi: 10.1111/j.1365-2656.2011.01919.x. Example files and an improved version of the  R code as well as handy plotting functions can be downloaded.



  • Within-subject centering in mixed models. Method described in van de Pol & Wright (2009) Animal Behaviour 77:753-758.. The example data and R Code for the models run in the paper can be found here, as well as a function to center covariates.       

  • Simple statistical method to distinguish between ageing and selective (dis)appearance in longitudinal studies. Method described in van de Pol & Verhulst (2006) American Naturalist 167: 766-773 . Here you can find some example R code to run the models discussed in the paper.

        | Home | Research | Study Systems | Students | CV | Publications | Software | Contact ||    



     last updated 02/02/12