skbio.diversity.alpha.simpson_d#

skbio.diversity.alpha.simpson_d(counts, finite=False)[source]#

Calculate Simpson’s dominance index, a.k.a. Simpson’s D.

Parameters:
counts1-D array_like, int

Vector of counts.

finitebool, optional

If True, correct for finite sampling.

Returns:
int

Simpson’s dominance index.

Notes

simpson_d is an alias for dominance.