Description Usage Arguments Value
sim_transition
generates a list of simulated population projection matrices from the provided parameters
and prior distributions.
1 2 3 4 5 6 7 8 9 | sim_transitions(
TF,
N,
P = NULL,
alpha = 1e-05,
beta = 1e-05,
priorweight = -1,
samples = 1
)
|
TF |
A list of two matrices, T and F, as ouput by |
N |
A vector of observed stages at start of transition. |
P |
A matrix of the priors for each column. Defaults to uniform. |
alpha |
A matrix of the prior parameter for each stage. Impossible stage combinations marked with NA_real_. |
beta |
A matrix of the prior parameter for each stage. Impossible stage combinations marked with NA_real_. |
priorweight |
total weight for each column of prior as a percentage of sample size or 1 if negative |
samples |
The number of matrices to return. |
Always returns a list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.