Description Usage Arguments Value References See Also Examples
View source: R/TraitspaceMod.R
Implements the modified version of the Traitspace model of community assembly.
1 | TraitspaceMod(level_1, level_2, level_3, site, N = 100)
|
level_1 |
The data column containing species names. |
level_2 |
The data column/s containing the trait values for one/multiple traits. One column per trait. |
level_3 |
The data column/s containing the value of the enviroment gradient/s. One column per gradient. |
site |
The data column containing names of the sites |
N |
Size of the simulated trait sample per site |
A list which is an object of the "traitspace" class.
BIC_TE |
The BIC value for the best gaussian mixture model fitted (using package mcluse) to the trait data in step 1A. A separate model is fitted for each trait. |
BIC_TS |
The BIC value for the best gaussian mixture model fitted (using package mclust) for each species in step 1B. |
Predicted relative abundances |
A matrix containing the predicted relative abundances |
Predicted species distribution |
A matrix containing the predicted species distribution |
Laughlin, D. C., Joshi, C., Richardson, S. J., Peltzer, D. A., Mason, N. W. H., & Wardle, D. A. (2015). Quantifying multimodal trait distributions improves trait-based predictions of species abundances and functional diversity. Journal of Vegetation Science, 26(1), 45-57.
Laughlin, D. C., Joshi, C., Bodegom, P. M., Bastow, Z. A., & Fule, P. Z. (2012). A predictive model of community assembly that incorporates intraspecific trait variation. Ecology Letters, 15(11), 1291-1299.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.