Learn R Programming

BRugs (version 0.9-2.1)

samplesClear: Clear recorded values

Description

This function is used to remove the stored values of a variable.

Usage

samplesClear(node)

Arguments

node

Character vector of length 1, name of a variable in the model.

Details

If the variable of interest is an array, slices of the array can be selected using the notation variable[lower0:upper0, lower1:upper1, ...]. A star ‘*’ can be entered as shorthand for all the stored samples.

See Also

BRugs, help.WinBUGS