Fit the Gambin Model to Species Abundance Distributions
Overview
Fits unimodal and multimodal gambin distributions to species-abundance distributions from ecological data, as in in Matthews et al. (2014) DOI:10.1111/ecog.00861. 'gambin' is short for 'gamma-binomial'. The main function is fit_abundances(), which estimates the 'alpha' parameter(s) of the gambin distribution using maximum likelihood. Functions are also provided to generate the gambin distribution and for calculating likelihood statistics.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Thomas Matthews <txm676@gmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 11includes a package overview page
- Examples that run
- 91%10 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 83%
- Help pages citing references
- 36%
- Gambin overview HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 34
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/txm676/gambin on 2026-10-21.
Show all practicesHide 1 practice
Dependencies
Installing gambin adds 4 packages (1 with compiled code, 777 KB of source tarballs). Heaviest: iterators 293 KB, gtools 236 KB, doParallel 160 KB.
Code & Tests
Datasets
People & History
Previously maintained by Michael Krabbe Borregaard (1.0 to 1.4).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.5.0Latest
- 2.4.42020-06-02 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.4.32020-02-03 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.4.12019-03-03 · diff ↗
- 2.4.0
- RR 3.5.0 released · 2018-04-23
- 2.3.0
- 2.2.02017-12-05 · diff ↗
Show 10 earlier eventsHide 10 earlier events
Package metadata
- First published
- 2013-09-28
- Total releases
- 12 / 13 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 10 KB / 3 files
- Download size
- 61 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("gambin")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.