figshare
Browse
1/1
2 files

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.

dataset
posted on 2016-08-10, 04:38 authored by John M. Drake

File List

pulicaria-code.R (MD5: 907cfa2626421dc29c58eebfb0c38329)

Description

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/.

History