This function returns and plots a complete trace for a scalar variable.
plotHistory(node, plot = TRUE,
colour = c("red", "blue", "green", "yellow", "black"),
main = NULL, xlab = "iteration", ylab = "", ...)
A matrix containing samples of node
, each row corresponds to one chain.
Character, name of a scalar variable in the model.
Logical, whether to plot the trace or only return the values.
If TRUE
, values are returned invisibly.
Colours used to represent different chains.
graphical parameters, see plot.default
Further graphical parameters as in par
.
Acts on a scalar variable. See the wrapper function samplesHistory
for more details.
samplesHistory
, BRugs
, help.WinBUGS