Skip to content

txm676/gambin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3d459f5 · Dec 12, 2022
Dec 12, 2022
Jun 2, 2020
Jul 3, 2018
Mar 3, 2019
Apr 16, 2021
Jun 2, 2020
Jun 2, 2020
Mar 9, 2021
Dec 10, 2016
Apr 16, 2021
Jun 2, 2020
Dec 12, 2022
Mar 9, 2021
Mar 9, 2021
Mar 9, 2021
Apr 16, 2021
Jun 2, 2020

Repository files navigation

The gambin R package

CircleCI Downloads CRAN Downloads CRAN Codecov test coverage

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")