iChao: Improved Chao1

Description Usage Arguments Value Examples

Description

function computes the improve version of Chao1

Usage

1
iChao(x)

Arguments

x

a vector of count.

Value

improved Chao1 value (ref) Chao and Lin Chao, A. and Lin, C.-W. (2012) Nonparametric lower bounds for species richness and shared species richness under sampling without replacement. Biometrics,68, 912–921.

Examples

1
2
3
4
5
set.seed(1234)
x <- rbinom(20, 5, 0.5)
y <- rbinom(20, 20, 0.1)
iChao(x)
iChao(y)

ph-pham/RepSeq documentation built on Dec. 22, 2021, 7:47 a.m.