| bootstrap_richness | R Documentation |
Bootstrap estimator of total species richness (Smith & van Belle 1984). Uses species detection probabilities to estimate undetected species.
bootstrap_richness(x, n_boot = 200L)
x |
A site-by-species matrix (presence/absence or abundance). Automatically binarized. |
n_boot |
Integer. Number of bootstrap replicates for SE. Default 200. |
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.
An object of class spacc_estimate.
Smith, E.P. & van Belle, G. (1984). Nonparametric estimation of species richness. Biometrics, 40, 119-129.
jackknife(), chao2()
species <- matrix(rbinom(50 * 30, 1, 0.3), nrow = 50)
bootstrap_richness(species, n_boot = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.