diag_mcmc: Diagnostic Plots for MCMC samples

Description Usage Arguments

Description

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.

Usage

1
2
3
diagMCMC(object, parName = varnames(object)[1])

diag_mcmc(object, parName = varnames(object)[1])

Arguments

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


rpruim/CalvinBayes documentation built on April 12, 2021, 1:49 p.m.