traceplot: Trace plot of MCMC output

traceplotR Documentation

Trace plot of MCMC output

Description

Displays a plot of iterations vs. sampled values for each variable in the chain, with a separate plot per variable.

Usage

traceplot(x, smooth = FALSE,
       col = 1:6, type = "l", xlab = "Iterations", ylab = "", ...)

Arguments

x

An mcmc or mcmc.list object

smooth

draw smooth line through trace plot

col

graphical parameter (see par)

type

graphical parameter (see plot)

xlab

graphical parameter (see plot)

ylab

graphical parameter (see plot)

...

further graphical parameters

Note

You can call this function directly, but it is more usually called by the plot.mcmc function.

See Also

densplot, plot.mcmc.


coda documentation built on May 29, 2024, 11:23 a.m.

Related to traceplot in coda...