plotAutoC {BRugs}R Documentation

Plot autocorrelation function for a scalar variable

Description

This function plots the autocorrelation function of a scalar variable.

Usage

plotAutoC(node, plot = TRUE, 
    colour = c("red", "blue", "green", "yellow", "black"), 
    lwd = 5, main = NULL, ...)

Arguments

node Character, name of a scalar variable in the model.
plot Logical, whether to plot the ACF or only return the values. If TRUE, values are returned invisibly.
colour Colours used to represent different chains.
lwd, main graphical parameters, see plot.default
... Further graphical parameters as in par.

Details

Acts on a scalar variable. See the wrapper function samplesAutoC for more details.

Value

An acf object. See acf for details.

See Also

samplesAutoC, acf, BRugs, help.WinBUGS


[Package BRugs version 0.3-2 Index]