Description Usage Arguments Value
View source: R/add_singletons.R
Modifies an SAD to add rare species that may have been missed during sampling. Takes the difference between the number of species estimated by the bias-corrected Chao and ACE estimators (as implemented in vegan::estimateR) and the observed number of species. Adds the average of these two differences to the observed dataframe, with each added species getting one individual each. use_max
is an option to use a high estimate (estimated mean + estimated standard error) from the estimators before calculating the mean difference. Returns the original SAD with added records for the estimated rare species.
1 | add_singletons(dat, use_max = F)
|
dat |
dataframe with columns |
use_max |
use estimated richness + standard error? Defaults F, but T is used in pipelines. |
dataframe with additional records for estimated rare species
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.