Computes observed and asymptotic Hill diversity estimates from a vector of integer abundances.

obs_est(ab)

Arguments

ab

A numeric vector of species abundances or relative abundances.

Value

Dataframe with total abundance and observed and asymptotic diversity estimates for the Pythagorean mean rarities: richness, exponentiated Shannon, and inverse Simpson.

Details

Only integer abundances allowed in ab, as asymptotic estimator relies on sampling theory for individuals.

See also

Examples

obs_est(c(20,8,5,4,2,1))
#>    n  coverage obsrich chaorich  obsshan chaoshan  obssimp chaosimp
#> 1 40 0.9762195       6   6.4875 4.057871 4.376477 3.137255 3.319149