Function to check that inputs for random species assignment are valid and logical. For example, local patch diversity cannot exceed landscape diversity
1 2 | check.inputs(tot.sp.num, land.sp.num, patch.sp.num, tot.rtd, land.rtd, loc.rtd,
p)
|
tot.sp.num |
total number of species in the species pool |
land.sp.num |
Number of species in the landscape |
patch.sp.num |
Total number of species in each patch |
tot.rtd |
total response trait diversity in the species pool |
land.rtd |
total response trait diversity in the landscape |
loc.rtd |
Response trait diversity in each patch |
p |
The number of cells in a square landscape |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.