Description Usage Arguments Value
View source: R/diversity_functions2.R
This function takes a population vector as its argument, then calls on the function universal_diversity2, supplying it with the population argument, and a value for q (=2). Universal diversity then calulcates a universal diversity measure based on the population and q value, and passes it back to simpson_diversity2 which calculates 1/"universal diversity measure", to return the Simpson diversity index.
1 | simpson_diversity2(population)
|
population |
- a set of population counts, containing the number of individuals of each species within the population |
simpson.diversity - a measurement of the simpson diversity for the entered population
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.