bootstrap_richness: Bootstrap Richness Estimator

View source: R/estimators.R

bootstrap_richnessR Documentation

Bootstrap Richness Estimator

Description

Bootstrap estimator of total species richness (Smith & van Belle 1984). Uses species detection probabilities to estimate undetected species.

Usage

bootstrap_richness(x, n_boot = 200L)

Arguments

x

A site-by-species matrix (presence/absence or abundance). Automatically binarized.

n_boot

Integer. Number of bootstrap replicates for SE. Default 200.

Details

The bootstrap estimator is:

S_{boot} = S_{obs} + \sum_{i=1}^{S_{obs}} (1 - p_i)^n

where p_i is the proportion of sites where species i occurs.

Value

An object of class spacc_estimate.

References

Smith, E.P. & van Belle, G. (1984). Nonparametric estimation of species richness. Biometrics, 40, 119-129.

See Also

jackknife(), chao2()

Examples

species <- matrix(rbinom(50 * 30, 1, 0.3), nrow = 50)
bootstrap_richness(species, n_boot = 100)


spacc documentation built on June 20, 2026, 5:07 p.m.