ess {rarestR} | R Documentation |
Compute dissimilarity estimates between two samples based on Expected Species Shared (ESS)-measures, using abundance data for the species contained in each samples
Description
Compute dissimilarity estimates between two samples based on Expected Species Shared (ESS)-measures, using abundance data for the species contained in each samples
Usage
ess(x, m = 1, index = "CNESSa")
Arguments
x |
a community data matrix (sample x species); sample name is the row name of the matrix |
m |
the sample size parameter that represents the number of individuals randomly drawn from each sample, which by default is set to m=1, but can be changed according to the users' requirements. Rows with a total sample size <m will be excluded automatically from the analysis. |
index |
the distance measure used in the calculation, as one of the four options "CNESSa", "CNESS","NESS" and "ESS", with the default set as "CNESSa" |
Value
a pair-wised matrix
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')
ess(share)
ess(share, m = 100)
ess(share, m = 100, index = "ESS")