Skip to content

raretrans

1.0.5

Bayesian Priors for Matrix Population Models

0packages depend
1.5Kdownloads / year
96.6%test coverage
13/13checks pass

Overview

About
Maintained by Raymond TremblayFirst published 2026-04-222 releasesCRAN page ↗GitHub ↗

Provides functions to correct biased transition and fertility estimates in population projection matrices caused by small sample sizes. Small or short-term studies frequently produce structural zeros (biologically possible transitions never observed) and structural ones (transitions estimated at 100% survival, stasis, or mortality that are biologically implausible). Both distort matrix structure and bias estimates of population growth. Implements a multinomial-Dirichlet Bayesian prior for transition probabilities and a Gamma-Poisson prior for reproduction, allowing analysts to incorporate prior biological knowledge and regularise estimates from rare or unobserved events. Includes functions to compute marginal posterior credible intervals for all transition probabilities (transition_CrI()), visualise those intervals as point-range plots (plot_transition_CrI()), and display the full posterior beta density for each matrix entry (plot_transition_density()). Methods are described in Tremblay et al. (2021) doi:10.1016/j.ecolmodel.2021.109526.

Install

Health

CRAN checks
13OK
Slowest check: 7.3 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.80
96.6%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-05-17
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    8 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 482 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
9%

Downloads

1.5K
CRAN downloads in the past year
Rank #10,615 · ~4/day · ~124/mo
Daily download trend is not available in this view yet.
17830 days
90890 days
1.5K1 year
Compare downloads with other packages →
Also on39 r2u22 autocran

Repository

Repository
0Stars
0Forks
4Open issues
0Open PRs
2Releases
266Commits
6Contributors
266 commits · Last activity 2026-05-15

Releases over time

2019-06-21 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/atiretoo/raretrans on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (3)
Author, Maintainer, Copyright holder
Author, Copyright holder
Contributors (1)
Contributor
Copyright holders (2)
Author, Maintainer, Copyright holder
Author, Copyright holder
Package Timeline

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

  • 1.0.5Latest
    2026-05-16 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.4
    2026-04-22
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-04-22
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
12 KB / 1 file
Download size
703 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("raretrans")
Tremblay, R., Perez, M., Tenhumberg, S., & Tyre, A. (2026). raretrans: Bayesian Priors for Matrix Population Models (Version 1.0.5) [Computer software]. https://doi.org/10.32614/CRAN.package.raretrans

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 raretrans version 1.0.5 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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