pulicaria-code.R (17.51 kB)View fileThis item contains files with download restrictions
Next page
Previous page
1/1
Switch ViewSwitch between different file views
Thumbnail viewList viewFile view
2 filesFullscreen
Supplement 2. R code for data summary models, estimating experimental effects with mixed effects models, and fitting alternative distributions for the tail probabilities of extinction time.
The file pulicaria-code.R (298 lines) contains R code for all analyses included in the main text and supplement. Requires data.csv and depends on R packages moments, xtable, MIfuns, lme4, and external R code for fitting power law distributions written by Cosma Shalizi and hosted by the Santa Fe Institute at http://tuvalu.santafe.edu/~aaronc/powerlaws/.