Calculates posterior parameter summaries, effective sample sizes, and R-hat values when more than one chain is available. It also returns the parameter and infection-history diagnostic plots.
plot_mcmc_diagnostics(
location,
par_tab,
burnin,
inf_hist_mcmc_summaries = TRUE
)character string giving the directory containing the saved MCMC chain files
the model control table used to identify estimated parameters
number of initial MCMC samples to discard when loading the chains
if TRUE, calculates infection-history summaries and plots as well as parameter diagnostics
A list containing `theta_estimates`, `p_thetas`, `inf_hist_estimates`, and `p_inf_hists`.
Other theta_plots:
plot_2d_density(),
plot_posteriors_theta(),
plot_samples_distances()