Description Usage Arguments Value
View source: R/diversity_functions3.R
This package will calculate the Simpson Diversity for a population. It accepts a population vector, then calls on the universal_diversity3 function, and passes the population vector and a q value (q=2) to it. universal_diversity3 will return a universal diversity value. simpson_diversity3 will then divide 1 by the returned diversity measure to obtain a value for Simpson Diversity, and return this value as a single numeric value of Simpson DIversity for the population.
1 | simpson_diversity3(population)
|
population |
a set of population counts, containing the number of individuals of each species within the population |
simpson.diversity - the Simpson Diversity for the population
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.