Chat: Calculate expected sample coverage C_hat

Description Usage Arguments Value Examples

Description

Returns expected sample coverage of a sample x for a smaller than observed sample size m (Chao & Jost, 2012). This code was copied from INEXT's internal function Chat.Ind() (Hsieh et al 2016).

Usage

1
Chat(x, m)

Arguments

x

integer vector (species abundances)

m

integer. (smaller than observed sample size)

Value

a numeric value.

Examples

1
2
3
4
5
library(vegan)
data(BCI)

# What is the expected coverage corresponding to a sample size of 50 at the gamma scale?
Chat(colSums(BCI), 50)

T-Engel/betaC documentation built on May 2, 2021, 3:19 a.m.