Extracts the MCMC posteriors of transition probabilities for a DABOM model, and multiplies them appropriately.
compileTransProbs(
trans_post = NULL,
parent_child = NULL,
time_vary_only = FALSE,
time_vary_param_nm = "strata_num"
)
posterior draws of transition probabilities compiled by the `extractTransPost` function
data frame with at least `parent` and `child` columns. Can be created with `buildParentChild()` function in the `PITcleanr` package.
Should only time-varying parameters be compiled? Default is `FALSE`, meaning time-varying parameters are excluded from results. If set to `TRUE`, non-time-varying parameters are excluded from results.
column name describing the time-varying strata for each location. Default value is `strata_num`.
#compileTransProbs()