traceplot
From coda v0.17-1
by Martyn Plummer
Trace plot of MCMC output
Displays a plot of iterations vs. sampled values for each variable in the chain, with a separate plot per variable.
- Keywords
- hplot
Usage
traceplot(x, smooth = FALSE,
col = 1:6, type = "l", xlab = "Iterations", ylab = "", ...)
Arguments
- x
- An
mcmc
ormcmc.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
Community examples
Looks like there are no examples yet.