Supplement 2. R scripts for simulating and testing functional-diversity–area relationships of communities with known levels of biotic sorting and abiotic filtering.
收藏资源简介:
File List R scripts for simulating communities with known levels of sorting or filtering.r (MD5: ba675c8f1030d23a5309ad532d646d26)Description R scripts for simulating communities with known levels of sorting or filtering.r contains an R script for simulating communities with user-specified levels of biotic sorting and/or environmental filtering and testing the output with the trait-level (TLM) and species-trail–level (STLM) models. The script is useful for determining the power of the null model tests. Comment lines specify input and its format . The code can be copied and pasted into the R command line interface or called using the source() function. Results are plotted and output as CSV files. The format of the CSV files is explained in the comments.



