skbio.math.diversity.alpha.equitability

skbio.math.diversity.alpha.equitability(counts, base=2)[source]

Calculate equitability (Shannon index corrected for number of OTUs).

Parameters:

counts : 1-D array_like, int

Vector of counts.

base : scalar, optional

Logarithm base to use in the calculations.

Returns:

double

Measure of equitability.

See also

shannon

Notes

The implementation here is based on the description given in the SDR-IV online manual [R43].

References

[R43](1, 2) http://www.pisces-conservation.com/sdrhelp/index.html