ChaoShannon: estimation of Shannon entropy or transformed Shannon diversity based on the method proposed by Chao et al. (2013)ChaoShannon(x, datatype = "abundance", transform = FALSE, conf = 0.95,
B = 200)ChaoEntropy(x, datatype = "abundance", transform = FALSE, conf = 0.95,
B = 200)
datatype = "incidence",
then the first entry of the input data must be total number of sampling units, followed by species incidence frequencies.datatype = "abundance"),
sampling-unit-based incidence frequencies data (datatype = "incidence_freq") or species by sampling-units incidence matrix (datatype = "incilogical constant to compute traditional Shannon entropy index (transform=FALSE) or the transformed Shannon diversity (transform=TRUE).ChaoRichness, ChaoSimpsondata(spider)
ChaoShannon(spider$Girdled, datatype="abundance")Run the code above in your browser using DataLab