Compute a species accumulation curve (SAR) using
vegan::specaccum(method = "random")
.
Value
A data frame with columns:
Sites
Number of sites sampled.
Richness
Mean cumulative species richness.
SD
Standard deviation across permutations.
Details
Uses 100 random permutations by default to estimate mean richness and its standard deviation as a function of the number of sites.
Examples
if (FALSE) { # \dontrun{
sar <- calculate_species_area(abund_matrix)
head(sar)
} # }