Learn R Programming

coda (version 0.19-3)

traceplot: 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

See Also

densplot, plot.mcmc.