Learn R Programming

EMC2 (version 2.0.2)

plot_mcmc_list: Plot MCMC.list

Description

Uses the coda plot functions that are applied across chain

Usage

plot_mcmc_list(emc, selection = "mu", fun = "traceplot", layout = NA, ...)

Value

A coda plot

Arguments

emc

An emc object

selection

A Character string. Indicates which parameter type to plot (e.g., alpha, mu, sigma2, correlation).

fun

A coda plot function choice from

layout

A vector indicating which layout to use as in par(mfrow = layout). If NA, will automatically generate an appropriate layout.

...

Optional arguments that can be passed to get_pars, the chosen coda plot function, or plot.default (see par())