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:
raretrans_1.0.5.tar.gz
raretrans_1.0.5.zip(r-4.7-any)raretrans_1.0.5.zip(r-4.6-any)raretrans_1.0.5.zip(r-4.5-any)
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✨
DESCRIPTION |NEWS
card.svg |card.png
raretrans/json (API)
| # 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
- L_elto - Transition and recruitment data for _Lepanthes eltoroensis_
Last updated from:b1f2e5c426. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 146 | ||
| source / vignettes | OK | 226 | ||
| linux-release-x86_64 | OK | 146 | ||
| macos-release-arm64 | OK | 146 | ||
| macos-oldrel-arm64 | OK | 217 | ||
| windows-devel | OK | 91 | ||
| windows-release | OK | 94 | ||
| windows-oldrel | OK | 89 | ||
| wasm-release | OK | 135 |
Exports:fill_fertilityfill_transitionsget_state_vectorplot_transition_CrIplot_transition_densityrdirichletrun_appsim_transitionstransition_CrI
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
Last update: 2026-05-15
Started: 2017-07-16
Last update: 2026-04-11
Started: 2018-06-08
Last update: 2026-04-03
Started: 2020-07-24
Last update: 2026-03-27
Started: 2026-03-25
Last update: 2026-03-25
Started: 2026-03-25
Last update: 2026-03-25
Started: 2026-03-25
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| raretrans: Bayesian Priors for Matrix Population Models | raretrans-package raretrans |
| Combine prior and data for fertility matrix | fill_fertility |
| Combine prior and data for transition matrix | fill_transitions |
| Helper functions for generating different priors | get_state_vector |
| Transition and recruitment data for _Lepanthes eltoroensis_ | L_elto |
| Plot beta credible intervals for transition matrix entries | plot_transition_CrI |
| Plot posterior beta density curves for all transition matrix entries | plot_transition_density |
| Dirichlet distributed random numbers | rdirichlet |
| Run the interactive Shiny application for Bayesian transition priors | run_app |
| Simulate population projection matrices | sim_transitions |
| Calculate beta credible intervals for all transition matrix entries | transition_CrI |