setValues {BRugs} | R Documentation

## Setting current values

### Description

This function sets current values for a variable for future iterations.

### Usage

    setValues(nodeLabel, values)

### Arguments

`nodeLabel` | Character vector of length 1, name of a variable in the model.
`values` | The values to be set, generated, e.g., by `currentValues`.

### Details

`currentValues` of a model can be stored in order to be used as initial values.

### Value

The number of values set.

### See Also

`currentValues`, `BRugs`, `help.WinBUGS`

[Package BRugs version 0.3-2 Index]