Description Usage Arguments Details Value References Examples
McIntosh's evenness measure E
1 | mcintosh_e(x)
|
x |
A numeric vector of species counts. |
For a vector x
of raw species counts, the McIntosh evenness measure
is
E = \frac{√{∑_i x_i^2}}{√{(N - S + 1)^2 + S - 1},}
where N is the total number of counts and S is the total number of species observed.
This index is appropriate only for raw counts, not transformed counts or proportions.
Equivalent to mcintosh_e()
in skbio.diversity.alpha
.
McIntosh's evenness measure, 0 < E ≤q 1. The index is
undefined when the total number of counts is 0, in which case we return
NaN
.
Heip C, Engels P. Comparing Species Diversity and Evenness Indices. J. Mar. Bioi. Ass. U.K. 1974;54:559-563.
1 2 | x <- c(15, 6, 4, 0, 3, 0)
mcintosh_e(x)
|
[1] 0.6748437
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.