R/tes.R
tes.Rd
Calculation of Total Expected Species base on ESa, ESb and their average value
tes(x)
a list in a self-defined class 'rarestr'. See "Details".
The value returned by the tes()
function in the 'rarestr' class is a list containing three 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 list of the modeled results with the TESa method.
A list of the modeled results with the TESb method.
Both TESa and TESb contain five parts, including a data frame of the parameters ($par
), a data frame of the simulated results ($result
), a maximum x value ($xmax
), a vector of the predicted x value ($Predx
), and a vector of the predicted y value ($Predy
)
zou2023rarestR
data(share, package = 'rarestR')
Output_tes <- tes(share[1,])
Output_tes
#> est est.sd model.par
#> TESa 138.50 2.46 logistic
#> TESb 92.63 32.65 Weibull
#> TESab 115.56 16.37 <NA>