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')
- submit suggestions and bug-reports: https://github.com/ericarcher/sprex/issues
- send a pull request: https://github.com/ericarcher/sprex/
- e-mail: eric.archer@noaa.gov
- removed
plot.discovery.curve()
- redesigned
discovery.curve()
to return data frame defining curve and plotting curve if selected. - added
diversity()
to compute diversity and entropy indices
- added
pct.range
argument toclench
function to specify minimum and maximum percentages of sample sizes - changed argument
m
inexpected.num.species
function to accept vectors and return a matrix