Skip to content

gambin

2.5.0

Fit the Gambin Model to Species Abundance Distributions

1packages depend
3.1Kdownloads / year
52.2%test coverage
11/13checks pass

Overview

About
Maintained by Thomas MatthewsFirst published 2013-09-2812 releasesCRAN page ↗GitHub ↗

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

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.12
52.2%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 102 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
91%
Documented parameters
100%
Return-value docs
83%
References docs
36%

Downloads

3.1K
CRAN downloads in the past year
Rank #12,970 · ~9/day · ~259/mo
Daily download trend is not available in this view yet.
18730 days
79390 days
3.1K1 year
Compare downloads with other packages →
Also on107 r2u16 autocran63 c2d4u

Repository

Repository
3Stars
3Forks
1Open issues
0Open PRs
0Releases
147Commits
4Contributors
147 commits · Last activity 2022-12-12

Stars over time

2018-01-29 · 32026-07-07 · 3

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/txm676/gambin on 2026-08-23.

Continuous integration (1)
CircleCI
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.0.0
Imports (6)
statsgraphicsdoParallelgtoolsforeachparallel
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer · added in 2.1.1
Authors (4)
Author, Maintainer · added in 2.1.1
Author · added in 2.1.1
Author · added in 2.1.1
Listed in earlier versions (2)
no longer listed · 1.0 to 1.4
no longer listed · 2.1.1 to 2.5.0
Package Timeline

12 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.5.0Latest
    2021-04-16 · current release · diff ↗
  • 2.4.4
    2020-06-02 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.4.3
    2020-02-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.4.1
    2019-03-03 · diff ↗
  • 2.4.0
    2018-07-12 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.3.0
    2018-02-18 · diff ↗
  • 2.2.0
    2017-12-05 · diff ↗
Show 10 earlier events
  • 2.1.1
    2017-07-25 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.4
    2016-06-23 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.3
    2015-11-11 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.1
    2014-05-17 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.0
    2013-09-28
  • R
    R 3.0.0 released · 2013-04-03

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
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gambin")
Matthews, T., Borregaard, M. K., Gillespie, C., & Ugland, K. (2021). gambin: Fit the Gambin Model to Species Abundance Distributions (Version 2.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.gambin

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for gambin version 2.5.0 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy