View source: R/plot_estimates.R
plot_estimates | R Documentation |
Wrapper function to plot the JAGS estimates
plot_estimates(jagsdata, model_output)
jagsdata |
Output of the mcmsupply::get_modelinputs() function. |
model_output |
The output of the mcmsupply::run_jags_model() function. |
A list of ggplot objects.
## Not run:
raw_data <- get_data(national=TRUE, local=TRUE, mycountry="Nepal")
jagsdata <- get_modelinputs(startyear=1990, endyear=2030.5, nsegments=12, raw_data)
mod <- run_jags_model(jagsdata, n_iter=5, n_burnin=1, n_thin=1)
plots <- plot_estimates(jagsdata = jagsdata, model_output = mod)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.