samplesSample {BRugs}R Documentation

Stored values

Description

This function returns an array of stored values.

Usage

samplesSample(node)

Arguments

node

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

Value

Values of the stored sample.

Note

If sampling a vector of parameters, the function must be called for each parameter separately such as samplesSample("node[1]").

To get samples from more than only one scalar node, see samplesHistory with argument plot=FALSE.

See Also

BRugs, help.WinBUGS


[Package BRugs version 0.9-2.1 Index]