Learn R Programming

iNEXT (version 2.0.3)

ChaoEntropy: Estimation of Shannon entropy

Description

ChaoEntropy Estimation of Shannon entropy via Chao et al. (2013)

Usage

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

Arguments

x
a vector of species frequence
datatype
the data type of input data. That is individual-based abundance data (datatype = "abundance") or sample-based incidence data (datatype = "incidence").
transform
a logical constant to compute traditional index or the effective transformation. Default is logical=FALSE.
conf
a positive number $\le$ 1. "conf" specifies the confidence level for confidence interval. The default is 0.95.
B
the number of bootstrap resampling times, default is 200.

Value

  • a value of species richness estimator

See Also

ChaoSpecies

Examples

Run this code
data(spider)
ChaoSpecies(spider$Girdled, datatype="abundance")

Run the code above in your browser using DataLab