Functions for calculating species richness for rarefaction and extrapolation, primarily non-parametric species richness such as jackknife, Chao1, and ACE. Also available are functions for plotting species richness and extrapolation curves, and computing standard diversity and entropy indices.
sprex is a package for calculating species richness for rarefaction and extrapolation. It contains functions for calculating non-parametric species richness such as jackknife, Chao1, and ACE. Also available are functions for plotting species richness and extrapolation curves, and standard diversity and entropy indices.
To install the stable version from CRAN:
install.packages('sprex')
To install the latest version from GitHub:
# make sure you have devtools installed
if (!require('devtools')) install.packages('devtools')
# install from GitHub
devtools::install_github('ericarcher/sprex')
plot.discovery.curve()discovery.curve() to return data frame defining curve and plotting curve if selected.diversity() to compute diversity and entropy indicespct.range argument to clench function to specify minimum and maximum percentages of sample sizesm in expected.num.species function to accept vectors and return a matrix