This function mimics diagMCMC()
from Kruschke's Doing Bayesian Data Analysis.
The options to save the plot to a file have been removed since there are other
general purpose ways of doing this, and it isn't needed if you are working in
R Markdown, which is recommended for reporting.
1 2 3 |
object |
an MCMC object as per the coda package |
parName |
an alias for pars |
pars |
the name of a parameter for which diagnostics are displayed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.