Given an AM_mcmc_output
object, this function produces the autocorrelation function bars describing the MCMC results. AM_plot_chaincor makes use of bayesplot<U+2019>s
plotting function mcmc_acf_bar bayesplotAntMAN.
AM_plot_chaincor(x, tags = NULL, lags = NULL, title = "MCMC Results")
An AM_mcmc_output
object, produced by calling AM_mcmc_fit
.
A list of variables to consider. This function only produces meaningful plots for variables that have fixed dimension across the draws. If not specified, plots pertaining to M and K will be produced.
This function is built upon bayesplot's mcmc_acf_bar
.
An integer specifying the number of lags to plot. If no value is specified, the default number of lags shown is half the total number of iterations.
Title for the plot.
A ggplot object.