obs_est: Observed and asymptotic diversity

View source: R/DFuns.R

obs_estR Documentation

Observed and asymptotic diversity

Description

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

Usage

obs_est(ab)

Arguments

ab

A numeric vector of species abundances or relative abundances.

Details

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

Value

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

See Also

rarity, Chao_Hill_abu

Examples

obs_est(c(20,8,5,4,2,1))

mikeroswell/MeanRarity documentation built on May 5, 2024, 4:50 p.m.