spec_sample_curve | R Documentation |
Expected species richness as function of sample size (no. of individuals), when individuals are sampled randomly (rarefaction) or when nearest-neighbours are samples (accumulation).
spec_sample_curve(comm, method = c("accumulation", "rarefaction"))
comm |
Community object |
method |
Partial match to |
Non-spatial sampling corresponds to the species rarefaction curve, which only
depends on the species abundance distribution and can thus be also calculated
from abundance data (see rare_curve
).
In contrast the species-accumulation curve starts from a focal individual and only samples the nearest neighbours of the focal individual. The final species accumulation curves is calculated as the mean over the accumulation curves starting from all individuals.
In contrast to the rarefaction curve the accumulation curve is not only influenced by the species abundance distribution, but also by the spatial distribution of individuals.
A dataframe with 2-3 columns. The first column indicates the sample size (numbers of individuals), and the second and third column indicate the expected species richness for spatial sampling (column: "spec_accum") and/or random sampling (column "spec_rarefied")
sim_com1 <- sim_thomas_community(s_pool = 100, n_sim = 1000)
sac1 <- spec_sample_curve(sim_com1, method = c("rare","acc"))
head(sac1)
plot(sac1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.