Description Usage Arguments Value
View source: R/mcmc_functions.R
Runs some basic MCMC diagnostics on the given chain and saves a few plots. The diagnostics are:
Gelman Diagnostics: Saves the Gelman plots at the given file location
Auto-correlation: Saves autocorrelation plots at the given file location
1 | mcmc_diagnostics(mcmc_chains, filename, param_table, VERBOSE = FALSE)
|
mcmc_chains |
the entire MCMC chain to be tested |
filename |
the full file path at which to save the diagnostics. _gelman.pdf will be appended, for example |
param_table |
the parameter table as loaded by |
VERBOSE |
boolean flag for additional output. Defaulst to FALSE |
returns any error messages raised during the tests
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.