samplesSize {BRugs} | R 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`

[Package BRugs version 0.3-2 Index]