Description Usage Arguments Value Examples
A wrapper for the mobsim function simsad that internally optimises the CV parameter of the lognormal SAD to generate a community sample of a user specified S_PIE value.
1 |
ENS_target |
S_PIE value of the sample |
S |
species richness of the sample |
n_sim |
number of individuals in the sample. If not specified it will be calculated from the |
mean_abu |
mean species abundance. Alternative argument to parameterize number of individuals |
sims |
number of simulations used for the internal optimization process. Default is 100. Increasing this parameter can significantly slow down the function |
a vector of abundances
1 2 3 | #simulate community of S_PIE=20 with 100 species and 800 individuals
comm<- sim_ENS(20,100, 800)
mobr::calc_PIE(comm, ENS=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.