rare_curve: Species rarefaction curve

Description Usage Arguments Details Value References Examples

Description

Expected species richness as a function of sample size

Usage

1
rare_curve(abund_vec)

Arguments

abund_vec

Species abundance distribution of the community (integer vector)

Details

This function essentially evaluates spec_sample for sample sizes from 1 to sum(abund_vec). It is similar to the function rarecurve in the R package vegan.

Value

Numeric Vector with expected species richness in samples of 1, 2, 3 ... n individuals

References

Gotelli & Colwell 2001. Quantifying biodiversity: procedures and pitfalls in the measurement and comparison of species richness. Ecology Letters 4, 379–391.

Examples

1
2
3
4
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")

MoBiodiv/MoBspatial documentation built on May 7, 2019, 4:58 p.m.