setValues {BRugs} | R Documentation |
Setting current values
Description
This function sets the current values of a variable for future iterations. Only stochastic nodes can be set using this facility, and logical nodes are then updated if necessary.
Usage
setValues(nodeLabel, values)
Arguments
nodeLabel |
Character vector of length 1, name of a node in the model. |
values |
The values to be set, generated, e.g., by |
Details
Current values of a node can be stored to be used later as initial values.
Value
The number of values set.
See Also
infoNodeValues
, BRugs
, help.WinBUGS
[Package BRugs version 0.9-2.1 Index]