Package: raretrans 1.0.5

Raymond Tremblay

raretrans: Bayesian Priors for Matrix Population Models

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

Authors:Raymond Tremblay [aut, cre, cph], Andrew Tyre [aut, cph], Maria-Eglee Perez [aut], Sasha Tenhumberg [ctb]

raretrans_1.0.5.tar.gz
raretrans_1.0.5.zip(r-4.7)raretrans_1.0.5.zip(r-4.6)raretrans_1.0.5.zip(r-4.5)
raretrans_1.0.5.tgz(r-4.6-any)raretrans_1.0.5.tgz(r-4.5-any)
raretrans_1.0.5.tar.gz(r-4.7-any)raretrans_1.0.5.tar.gz(r-4.6-any)
raretrans_1.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
raretrans/json (API)
NEWS

# Install 'raretrans' in R:
install.packages('raretrans', repos = c('https://atiretoo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/atiretoo/raretrans/issues

Pkgdown/docs site:https://atiretoo.github.io

Datasets:
  • L_elto - Transition and recruitment data for _Lepanthes eltoroensis_

On CRAN:

Conda:

6.24 score 24 scripts 429 downloads 9 exports 17 dependencies

Last updated from:b1f2e5c426. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK144
source / vignettesOK306
linux-release-x86_64OK132
macos-release-arm64OK79
macos-oldrel-arm64OK106
windows-develOK91
windows-releaseOK88
windows-oldrelOK83
wasm-releaseOK114

Exports:fill_fertilityfill_transitionsget_state_vectorplot_transition_CrIplot_transition_densityrdirichletrun_appsim_transitionstransition_CrI

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

01 Quick start: credible intervals for transition probabilities

Rendered fromquick_start.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2026-03-25
Started: 2026-03-25

02 Introduction to raretrans

Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2026-03-27
Started: 2026-03-25

03 Working with a single population and transition

Rendered fromonepopperiod.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2026-04-11
Started: 2018-06-08

04 Credible intervals for transition probabilities: Cypripedium calceolus

Rendered fromcredible_intervals.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2026-03-25
Started: 2026-03-25

05 Effect of prior information on transition probabilities and fertility

Rendered fromtransition_priors.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2026-05-15
Started: 2017-07-16

06 Matrices of animal populations

Rendered fromanimal_matrices.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2026-04-03
Started: 2020-07-24