num.samples.required: Number of Samples Required

View source: R/num.samples.required.R

num.samples.requiredR Documentation

Number of Samples Required

Description

Calculate the additional number of samples (individuals) to required to observe a given proportion of the total number of species.

Usage

num.samples.required(g, f, f0.func, ...)

Arguments

g

propotion of total number of species.

f

a vector of species frequencies where f[i] is the number of species represented by only i samples.

f0.func

a function that computes the number of unobserved species (f0).

...

other arguments to f0.func.

Value

a vector containing of the estimated additional number of samples (m.g) required to observe g percent of the total number of species.

Author(s)

Eric Archer eric.archer@noaa.gov

References

Eqn 12 in Chao, A., R.K. Colwell, C.-W. Lin, and N.J. Gotelli. 2009. Sufficient sampling for asymptotic minimum species richness estimators. Ecology 90(4):1125-1133.
Eqn 11 in Colwell, R.K., A. Chao, N.J. Gotelli, S.-Y. Lin, C.X. Mao, R.L. Chazdon, and J.T. Longino. 2012. Models and estimators linking individual-based and sample-based rarefaction, extrapolation and comparison of assemblages. Journal of Plant Ecology 5(1):3-21.

Examples

data(osa.old.growth)
f <- expand.freqs(osa.old.growth)
num.samples.required(0.6, f = f, f0.func = Chao1)


EricArcher/sprex documentation built on Sept. 4, 2023, 8:35 a.m.