Update a parameter list using posterior information from a fit
Source:R/posterior.R
chlaa_update_from_fit.RdUpdate a parameter list using posterior information from a fit
Usage
chlaa_update_from_fit(
fit,
pars,
draw = c("median", "mean", "sample", "index"),
burnin = 0.5,
thin = 1,
index = NULL,
seed = 1,
validate = TRUE
)Arguments
- fit
Fit object returned by `chlaa_fit_pmcmc()`.
- pars
Baseline parameter list.
- draw
Which posterior summary to use: "mean", "median", "sample", or "index".
- burnin
Burn-in, proportion or integer count.
- thin
Thinning interval.
- index
If `draw = "index"`, the 1-based index into the retained iterations.
- seed
Seed used when `draw = "sample"`.
- validate
Validate the resulting parameter list.