Skip to contents

Wrapper function to plot the JAGS estimates

Usage

plot_estimates(jagsdata, model_output)

Arguments

jagsdata

Output of the mcmsupply::get_modelinputs() function.

model_output

The output of the mcmsupply::run_jags_model() function.

Examples

if (FALSE) {
raw_data <- get_data(national=FALSE, local=TRUE, mycountry="Nepal")
jagsdata <- get_modelinputs(startyear=1990, endyear=2030.5, nsegments=12, raw_data)
mod <- run_jags_model(jagsdata)
plots <- plot_estimates(jagsdata)
}