Description Usage Arguments Details Value Author(s) References See Also Examples
This function allows calculation of a measure of compositional evenness, e.g. for a community of species or a population of genotypes (genetic individuals). Specifically, the index of evenness gives a measure of the probability that when two individuals are drawn randomly from the community (population) these individuals are of differing type (species or genotype; Nei 1987).
1 |
obs |
A vector of species numbers. |
scrub |
Controls the treatment of species with zero abundance in the input observation. If TRUE the input vector is truncated to omit zero values. |
Used within the H.sampler
function.
Returns the compositional evenness calculated from the sample.
Raj Whitlock
Nei M. 1987. Molecular Evolutionary Genetics. Columbia University Press, New York, p. 180.
1 2 |
[1] 0.9977153
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.