traceplot | R Documentation |
Displays a plot of iterations vs. sampled values for each variable in the chain, with a separate plot per variable.
## S4 method for signature 'bugs'
traceplot( x, mfrow = c( 1, 1 ), varname = NULL,
match.head = TRUE, ask = TRUE,
col = rainbow( x$n.chains ),
lty = 1, lwd = 1, ...)
x |
A bugs object |
mfrow |
graphical parameter (see |
varname |
vector of variable names to plot |
match.head |
matches the variable names by the beginning of the variable names in bugs object |
ask |
logical; if |
col |
graphical parameter (see |
lty |
graphical parameter (see |
lwd |
graphical parameter (see |
... |
further graphical parameters |
Masanao Yajima yajima@stat.columbia.edu. Yu-Sung Su suyusung@tsinghua.edu.cn
densplot
, plot.mcmc
,
traceplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.