powered by
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)
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.
div_rect
Size of subplots as proportion of the total area
community object
community
Number of randomly located subplots
Should subplots without individuals be excluded? (logical)
sim1 <- sim_poisson_community(100,1000) div_rand_rect(prop_area = 0.1, comm = sim1)
Run the code above in your browser using DataLab