Displays a plot of iterations vs. sampled values for each variable in the chain, with a separate plot per variable.
# S4 method for bugs
traceplot( x, mfrow = c( 1, 1 ), varname = NULL,
match.head = TRUE, ask = TRUE,
col = rainbow( x$n.chains ),
lty = 1, lwd = 1, ...)
A bugs object
graphical parameter (see par)
vector of variable names to plot
matches the variable names by the beginning of the variable names in bugs object
logical; if TRUE, the user is asked before each plot, see
par(ask=.).
graphical parameter (see par)
graphical parameter (see par)
graphical parameter (see par)
further graphical parameters
Masanao Yajima yajima@stat.columbia.edu. Yu-Sung Su suyusung@tsinghua.edu.cn
densplot, plot.mcmc,
traceplot