View source: R/null_model_simulations.R
First, for each species in the matrix, mean abunance is calculated. Then N samples are taken for each species from a Poisson distribution, with lambda equal to the mean abunance.
1 |
m |
Community data matrix with species as rows and sites as columns. Can contain either incidences (1/0) or abundances (natural numbers). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.