expected.num.species {sprex} | R Documentation |
Expected Number of Species
Description
Calculate the expected number of species for a given sample size.
Usage
expected.num.species(m, f, f0.func, ...)
Arguments
m |
number of samples. |
f |
a vector of species frequencies where |
f0.func |
a function that computes the number of unobserved species (f0). |
... |
other arguments to |
Value
a vector or matrix (depending on whether m
is a scalar or vector,
respectively) of the estimated number of species (s.ind
) seen
in m
samples, and the standard deviation (sd.s.ind
).
Author(s)
Eric Archer eric.archer@noaa.gov
References
Eqns 4, 5, 9, and 10 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)
expected.num.species(60, f = f, f0.func = Chao1)
expected.num.species(c(60, 70, 75), f = f, f0.func = Chao1)