Skip to content

gambin

2.5.0Package record

Fit the Gambin Model to Species Abundance Distributions

0packages dependsuggested by 1
3.4Kdownloads / year
52.2%test coverage
11/13flavors OK

Overview

About

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
Check messages
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.

CRAN check page ↗

Slowest check: 1.5 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.5.0
READMEYes · 102 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · does not mention 2.5.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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%
Vignettes (1)

Downloads

3.4K
CRAN downloads in the past year
Rank #10,334 · ~9/day · ~280/mo
Daily download trend is not available in this view yet.
40030 days
99290 days
3.4K1 year
Compare downloads with other packages →
Also on82 r2u4 autocran128 c2d4u

Repository

3Stars
3Forks
1Open issues
0Open PRs
0Releases
147Commits
4Commit identities
147 commits · Last activity 2022-12-12
Responsiveness
How these are sampled
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

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

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.

Continuous integration (1)
CircleCI
Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing gambin adds 4 packages (1 with compiled code, 777 KB of source tarballs). Heaviest: iterators 293 KB, gtools 236 KB, doParallel 160 KB.

Depends (1)
R >= 3.0.0
Imports (6)
statsgraphicsdoParallelgtoolsforeachparallel
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 2.1.1 (2017)
Author · added in 2.1.1

Previously maintained by Michael Krabbe Borregaard (1.0 to 1.4).

Listed in earlier versions (1)
Borregaard
no longer listed · 2.1.1 to 2.5.0
Releases (12)

Pick two releases to compare their code metrics.

  • 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
    record
    2021-04-16 · current release · diff ↗
  • 2.4.4
    record
    2020-06-02 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.4.3
    record
    2020-02-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.4.1
    record
    2019-03-03 · diff ↗
  • 2.4.0
    record
    2018-07-12 · diff ↗ ·
    added 1 export
    deconstruct_modes
  • R
    R 3.5.0 released · 2018-04-23
  • 2.3.0
    record
    2018-02-18 · diff ↗ ·
    added 1 export
    mult_abundances
  • 2.2.0
    record
    2017-12-05 · diff ↗
Show 10 earlier eventsHide 10 earlier events
  • 2.1.1
    record
    2017-07-25 · diff ↗ ·
    added 4 exports
    fit_abundances, pgambin, qgambin, rgambin
  • R
    R 3.4.0 released · 2017-04-21
  • 1.4
    record
    2016-06-23 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.3
    record
    2015-11-11 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.1
    record
    2014-05-17 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.0
    record
    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
Appears in task views

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.

APA

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

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.

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