Skip to contents

Package overview

raretrans raretrans-package
raretrans: Bayesian Priors for Matrix Population Models

Main functions

Core functions for filling structural zeros

fill_transitions()
Combine prior and data for transition matrix
fill_fertility()
Combine prior and data for fertility matrix
run_app()
Run the interactive Shiny application for Bayesian transition priors

Simulation

Simulate posterior matrices

sim_transitions()
Simulate population projection matrices

Credible intervals

Compute and plot credible intervals

transition_CrI()
Calculate beta credible intervals for all transition matrix entries
plot_transition_CrI()
Plot beta credible intervals for transition matrix entries
plot_transition_density()
Plot posterior beta density curves for all transition matrix entries

Helper functions

get_state_vector()
Helper functions for generating different priors
rdirichlet()
Dirichlet distributed random numbers

Data

L_elto
Transition and recruitment data for Lepanthes eltoroensis