Description Usage Arguments Value
View source: R/diversity_functions3.R
This package will calculate the Shannon Entropy 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=1) to it. universal_diversity3 will return a universal diversity value. shannon_entropy3 will then calculate the log of the returned diversity measure to obtain a value for Shannon Entropy, and return this value as a single numeric value of Shannon Entropy for the population.
1 | shannon_entropy3(population)
|
population |
a set of population counts, containing the number of individuals of each species within the population |
shannon.entropy - the Shannon Entropy for the population
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.