knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
This package fits the gambin
distribution to species-abundance distributions from ecological data.
'gambin' is short for 'gamma-binomial'. The main functions are fit_abundances
, which estimates the alpha
parameter of the gambin distribution using maximum likelihood, and mult_abundances
which estimates alpha
for multiple sites / samples after standardising for the number of individuals. Recent functions are also provided
to generate the gambin distribution and for calculating likelihood statistics. The package now provides functionality
to fit multimodal gambin distributions.
The package is currently on CRAN and can be installed via
install.packages("gambin")
Alternatively, you can install the developmental version via
devtools::install_github("txm676/gambin")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.