samples.size: Size of the stored sample

samplesSizeR Documentation

Size of the stored sample

Description

This function returns the size of the stored sample.

Usage

samplesSize(node)

Arguments

node

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

Value

Size of the stored sample. If no samples exist, -1 will be returned.

Note

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

See Also

BRugs, help.WinBUGS


BRugs documentation built on May 31, 2023, 7:19 p.m.

Related to samples.size in BRugs...