ChaoShannon
: estimation of Shannon entropy or transformed Shannon diversity based on the method proposed by Chao et al. (2013)
1 2 3 4 5  ChaoShannon(x, datatype = "abundance", transform = FALSE, conf = 0.95,
B = 200)
ChaoEntropy(x, datatype = "abundance", transform = FALSE, conf = 0.95,
B = 200)

x 
a vector of species abundances or incidence frequencies. If 
datatype 
data type of input data: individualbased abundance data ( 
transform 
a 
conf 
a positive number ≤ 1 specifying the level of confidence interval. 
B 
an integer specifying the number of bootstrap replications. 
A vector of observed Shannon entropy/diversity, estimate of entropy/diversity, s.e. and the associated confidence interval.
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, 10911100.
1 2  data(spider)
ChaoShannon(spider$Girdled, datatype="abundance")

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.