rare_curve | R Documentation |
Expected species richness as a function of sample size
rare_curve(abund_vec)
abund_vec |
Species abundance distribution of the community (integer vector) |
This function essentially evaluates spec_sample
for
sample sizes from 1 to sum(abund_vec)
. It is similar to the function
vegan:rarecurve
in the R package vegan
.
Numeric Vector with expected species richness in samples of 1, 2, 3 ... n individuals
Gotelli & Colwell 2001. Quantifying biodiversity: procedures and pitfalls in the measurement and comparison of species richness. Ecology Letters 4, 379–391.
sad1 <- sim_sad(100, 2000, sad_type = "lnorm", sad_coef = list("meanlog" = 2,
"sdlog" = 1))
rc1 <- rare_curve(sad1)
plot(rc1, type = "l", xlab = "Sample size", ylab = "Expected species richness")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.