Description Usage Arguments Details Note
This function generates species based on the instructions given in two input files.
1 | gen.spp(sp.base.file, sp.resp.instr.file, sp.out.file, tot.sp.num)
|
sp.base.file |
An input file containing base vital rates. See Appendix S1 (ODD protocol) for file setup & details |
sp.resp.instr.file |
A file containing details on the species response traits, and how they should be distributed. Currently these are independent of the underlying base vital rates. |
sp.out.file |
The species file to be created |
tot.sp.num |
The total number of species to be generated |
sp.base.file contains the base vital rates and how they should be distributed in the regional species pool, while resp.traits contains information on species response traits. This creates a regional species pool that contains a realization of a defined distribution of base vital rates and response traits.
Currently does not support creation of constrained species traits, although the intention is to add that functionality in future versions. WARNING There appears to be a bug in R (3.1.0) that is affecting the way some column headers are being displayed during troubleshooting. (this will not affect function users and only matters for those modifying the functions)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.