ChaoShannon: Estimation of Shannon entropy/diversity

View source: R/EstIndex.R

ChaoShannonR Documentation

Estimation of Shannon entropy/diversity

Description

ChaoShannon: estimation of Shannon entropy or transformed Shannon diversity based on the method proposed by Chao et al. (2013)

Usage

ChaoShannon(x, datatype = "abundance", transform = FALSE, conf = 0.95, B = 200)

Arguments

x

a matrix, data.frame (species by sites), or list of species abundances or incidence frequencies. If datatype = "incidence_freq", then the first entry of the input data must be total number of sampling units, followed by species incidence frequencies.

datatype

data type of input data: individual-based abundance data (datatype = "abundance"), sampling-unit-based incidence frequencies data (datatype = "incidence_freq") or species by sampling-units incidence matrix (datatype = "incidence_raw").

transform

a logical constant to compute traditional Shannon entropy index (transform=FALSE) or the transformed Shannon diversity (transform=TRUE).

conf

a positive number \le 1 specifying the level of confidence interval.

B

an integer specifying the number of bootstrap replications.

Value

A data.frame of observed Shannon entropy/diversity, estimate of entropy/diversity, s.e. and the associated confidence interval.

References

Chao, A., Wang, Y.T. & Jost, L. (2013) Entropy and the species accumulation curve: a novel entropy estimator via discovery rates of new species. Methods in Ecology and Evolution, 4, 1091-1100.

See Also

ChaoRichness, ChaoSimpson

Examples

data(spider)
ChaoShannon(spider$Girdled, datatype="abundance")

iNEXT documentation built on May 29, 2024, 5:57 a.m.