tess {rarestR} | R Documentation |
Calculate the Total number of Expected Shared Species between two samples.
tess(x, knots = 40)
x |
a data matrix for two samples representing two communities (plot x species) |
knots |
specifies the number of separate sample sizes of increasing value used for the calculation of ESS between 1 and the endpoint, which by default is set to knots=40 |
The value returned by the tess()
function in the 'rarestr' class is a list containing five parts:
A data frame of the summary of the estimated values and their standard deviations based on TESa, TESb, and TESab, and the model used in the estimation of TES, either 'logistic' or 'Weibull'.
A data frame of the simulated results.
A maximum x value.
A vector of the predicted x value.
A vector of the predicted y value.
estimated values and their standard deviations of TESS, and the model used in the estimation of TES, either 'logistic' or 'Weibull'
a list in a self-defined class 'rarestr'. See "Details".
Zou Y, Axmacher JC (2021). “Estimating the number of species shared by incompletely sampled communities.” Ecography, 44(7), 1098-1108. doi:10.1111/ecog.05625.
data(share, package = 'rarestR')
Output_tess <- tess(share[1:2,])
Output_tess