berger_parker_d: Berger-Parker dominance

Description Usage Arguments Details Value References Examples

Description

The Berger-Parker dominance is the proportion of the most abundant species.

Usage

1

Arguments

x

A numeric vector of species counts or proportions.

Details

Value

The Berger-Parker dominance, 0 < D_{BP} ≤q 1. If the vector sums to zero, the Berger-Parker dominance is undefined, and we return NaN.

References

Berger WH, Parker FL. Diversity of Planktonic Foraminifera in Deep-Sea Sediments. Science. 1970;168(3937):1345-1347.

Examples

1
2
x <- c(15, 6, 4, 0, 3, 0)
berger_parker_d(x) # 15 / 28

kylebittinger/abdiv documentation built on Jan. 19, 2020, 3:48 a.m.