Description Usage Arguments Value
View source: R/check.convergence.R
Uses Gelman multivariate Gelman-Rubin diagnostic to check if multiple MCMC chains have converged
1 | check.convergence(jags_out, threshold = 1.1, verbose = TRUE, ...)
|
jags_out |
mcmc.list object (from coda package) containing samples from MCMC chains. |
threshold |
Gelman-Rubin diagnostic parameter threshold. Default = 1.1 |
verbose |
If TRUE, print convergence result. Default = TRUE |
... |
Additional arguments to |
List length 3 containing the following: * convergence: Logical. Whether or not convergence was achieved. * diagnostics: Numerical value of Gelman-Rubin diagnostics for each parameter and multivariate diagnostic * error: Logical. Whether or not an error occured in the Gelman-Rubin calculation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.