skbio.math.diversity.alpha.doublesΒΆ

skbio.math.diversity.alpha.doubles(counts)[source]ΒΆ

Calculate number of double occurrences (doubletons).

Parameters:

counts : 1-D array_like, int

Vector of counts.

Returns:

int

Doubleton count.