Provides Hurlbert's (1971) rarefied richness.

hRare(ab, k)

Arguments

ab

A numeric vector of species abundances or relative abundances.

k

integer sample size parameter for rarefaction

Value

numeric scalar, unbiased estimate of rarefied richness, assuming abundances are sampled without replacement from a finite species pool

References

Hurlbert SH (1971). “The nonconcept of species diversity: a critique and alternative parameters.” Ecology, 52(4), 577--586. doi:10.2307/1934145 , http://www.esajournals.org/doi/abs/10.2307/1934145.

See also

vegan::rarefy()

Examples

hRare(1:10, 2)
#> [1] 1.888889