| spatialRarefaction | R Documentation |
Compute expected species richness accounting for spatial autocorrelation (Chiarucci et al. 2009). Uses distance-weighted sampling probabilities.
spatialRarefaction(x, coords, n_perm = 100, bandwidth = NULL)
x |
A site-by-species matrix. |
coords |
A data.frame with x and y columns. |
n_perm |
Number of permutations. Default 100. |
bandwidth |
Distance bandwidth for spatial weighting. |
A data.frame with columns: sites, mean, sd, lower, upper
Chiarucci, A., Bacaro, G., Rocchini, D. & Fattorini, L. (2009). Discovering and rediscovering the sample-based rarefaction formula in the ecological literature. Community Ecology, 10, 195-199.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.