View source: R/discovery.curve.R
discovery.curve | R Documentation |
Calculate the components of a species discovery curve.
discovery.curve(
f,
f0.func,
max.x = sum(f * 1:length(f)),
n.pts = 100,
ci = 0.95,
plot = TRUE,
...
)
f |
a vector of species frequencies where |
f0.func |
function to use to calculate |
max.x |
the maximum number of samples to calculate the curve for.
Defaults to the sample size of |
n.pts |
number of points between 0 and |
ci |
size of the confidence interval (0.5:1). |
plot |
plot the curve? |
... |
other arguments to |
a list with:
f.stats |
a named vector from |
curve |
a |
Eric Archer eric.archer@noaa.gov
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.
data(osa.old.growth)
f <- expand.freqs(osa.old.growth)
d <- discovery.curve(f, f0.func = Chao1, max.x = 1200)
print(str(d))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.