div_rand_rect {mobsim} | R Documentation |
Distribution of local diversity indices
Description
Get mean and standard deviation of diversity indices in several equally sized subplots of a community
Usage
div_rand_rect(prop_area = 0.25, comm, n_rect = 100, exclude_zeros = FALSE)
Arguments
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) |
Value
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.
Examples
sim1 <- sim_poisson_community(100,1000)
div_rand_rect(prop_area = 0.1, comm = sim1)
[Package mobsim version 0.3.1 Index]