Supplement 1. MATLAB code for the ecological and macroevolutionary simulation models and general R code to calculate spatial and nonspatial phylogenetic diversity–area curves.
The matlab code generates all of the ecological and macroevolutionary simulations models presented in the results. The R code calculates spatial and nonspatial phylogenetic diversity area curves for community/sample/plot data sets. The R code is general so that it should work on most data sets.