Uses the coda plot functions that are applied per chain
plot_mcmc(
emc,
selection = "mu",
fun = "cumuplot",
layout = NA,
chain = 1,
plot_type = NULL,
...
)
A coda plot
An emc object
A Character string. Indicates which parameter type to plot (e.g., alpha
, mu
, sigma2
, correlation
).
A plot function that takes a vector/mcmc object as input, e.g. cumuplot, acf
A vector indicating which layout to use as in par(mfrow = layout). If NA, will automatically generate an appropriate layout.
Integer, which chain to include, if more than 1 will make separate plots per chain.
type argument passed on to coda fun.
Optional arguments that can be passed to get_pars
,
the chosen coda plot function, or plot.default
(see par()
)