View source: R/Diversity_Area_Relationships.R
div_rand_rect | R Documentation |
Get mean and standard deviation of diversity indices in several equally sized subplots of a community
div_rand_rect(prop_area = 0.25, comm, n_rect = 100, exclude_zeros = FALSE)
prop_area |
Size of subplots as proportion of the total area |
comm |
|
n_rect |
Number of randomly located subplots |
exclude_zeros |
Should subplots without individuals be excluded? (logical) |
Vector with mean and standard deviation of the following diversity indices:
Number of species
Number of endemics
Shannon index
Effective number of species (ENS) based on Shannon index
Simpson index
Effective number of species (ENS) based on Simpson index
See the documentation of div_rect
for detailed information on the
definition of the diversity indices.
sim1 <- sim_poisson_community(100,1000)
div_rand_rect(prop_area = 0.1, comm = sim1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.