tess {rarestR}R Documentation

Calculate the Total number of Expected Shared Species between two samples.

Description

Calculate the Total number of Expected Shared Species between two samples.

Usage

tess(x)

Arguments

x

a data matrix for two samples representing two communities (plot x species)

Details

The value returned by the tess() function in the 'rarestr' class is a list containing five parts:

par

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'.

result

A data frame of the simulated results.

xmax

A maximum x value.

Predx

A vector of the predicted x value.

Predy

A vector of the predicted y value.

Value

a list in a self-defined class 'rarestr'. See "Details".

References

Zou Y, Zhao P, Wu N, Lai J, Peres-Neto PR, Axmacher JC (2025). “rarestR: An R Package Using Rarefaction Metrics to Estimate \alpha-and \beta-Diversity for Incomplete Samples.” Diversity and Distributions, 31(1), e13954. doi:10.1111/ddi.13954.

Examples

data(share, package = 'rarestR')
Output_tess <- tess(share[1:2,])
Output_tess

[Package rarestR version 1.1.1 Index]