Learn R Programming

divent (version 0.5-3)

div_hurlbert: Hurlbert Diversity of a Community

Description

Estimate the diversity sensu stricto, i.e. the effective number of species Dauby2012;textualdivent from abundance or probability data.

Usage

div_hurlbert(x, k = 1, ...)

# S3 method for numeric div_hurlbert( x, k = 2, estimator = c("Hurlbert", "naive"), as_numeric = FALSE, ..., check_arguments = TRUE )

# S3 method for species_distribution div_hurlbert( x, k = 2, estimator = c("Hurlbert", "naive"), as_numeric = FALSE, ..., check_arguments = TRUE )

Value

A tibble with the site names, the estimators used and the estimated diversity.

Arguments

x

An object, that may be a numeric vector containing abundances or probabilities, or an object of class abundances or probabilities.

k

the order of Hurlbert's diversity.

...

Unused.

estimator

An estimator of asymptotic diversity.

as_numeric

if TRUE, a number or a numeric vector is returned rather than a tibble.

check_arguments

if TRUE, the function arguments are verified. Should be set to FALSE to save time when the arguments have been checked elsewhere.

Details

Several estimators are available to deal with incomplete sampling.

Bias correction requires the number of individuals.

Estimation techniques are from Hurlbert1971;textualdivent.

Hurlbert's diversity cannot be estimated at a specified level of interpolation or extrapolation, and diversity partioning is not available.

References

See Also

ent_hurlbert

Examples

Run this code
# Diversity of each community
div_hurlbert(paracou_6_abd, k = 2)

Run the code above in your browser using DataLab