Analyze how beta diversity changes as sites are accumulated spatially. Partitions beta diversity into turnover (species replacement) and nestedness (species loss) components following Baselga (2010).
Arguments
- x
A site-by-species matrix (presence/absence or abundance).
- coords
A data.frame with columns
xandy, or aspacc_distobject.- n_seeds
Integer. Number of random starting points. Default 50.
- method
Character. Accumulation method. Default
"knn".- index
Character. Dissimilarity index:
"sorensen"(default) or"jaccard".- distance
Character. Distance method:
"euclidean"or"haversine".- parallel
Logical. Use parallel processing? Default
TRUE.- n_cores
Integer. Number of cores.
- progress
Logical. Show progress? Default
TRUE.- seed
Integer. Random seed.
- map
Logical. If
TRUE, run accumulation from every site as seed and store per-site final beta values for spatial mapping. Enablesas_sf()andplot(type = "map"). DefaultFALSE.
Value
An object of class spacc_beta containing:
- beta_total
Matrix of total beta diversity (n_seeds x n_sites-1)
- beta_turnover
Matrix of turnover component
- beta_nestedness
Matrix of nestedness component
- distance
Matrix of cumulative distances
- n_seeds, n_sites, method, index
Parameters used
Details
At each step of spatial accumulation, beta diversity is calculated between the accumulated species pool and the newly added site. This reveals how species composition changes as you expand spatially.
Interpretation:
High turnover: New sites contribute different species (replacement)
High nestedness: New sites contribute subsets of existing species (loss)
The sum of turnover and nestedness equals total beta diversity.
References
Baselga, A. (2010). Partitioning the turnover and nestedness components of beta diversity. Global Ecology and Biogeography, 19, 134-143.
See also
betapart::beta.pair() for pairwise beta diversity