powered by
The Berger-Parker dominance is the proportion of the most abundant species.
berger_parker_d(x)
A numeric vector of species counts or proportions.
The Berger-Parker dominance, \(0 < D_{BP} \leq 1\). If the vector sums to zero, the Berger-Parker dominance is undefined, and we return NaN.
NaN
Equivalent to berger_parker_d() in skbio.diversity.alpha.
berger_parker_d()
skbio.diversity.alpha
Equivalent to the bergerparker calculator in Mothur.
bergerparker
Berger WH, Parker FL. Diversity of Planktonic Foraminifera in Deep-Sea Sediments. Science. 1970;168(3937):1345-1347.
# NOT RUN { x <- c(15, 6, 4, 0, 3, 0) berger_parker_d(x) # 15 / 28 # }
Run the code above in your browser using DataLab