setValues | R Documentation |
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.
setValues(nodeLabel, values)
nodeLabel |
Character vector of length 1, name of a node in the model. |
values |
The values to be set, generated, e.g., by |
Current values of a node can be stored to be used later as initial values.
The number of values set.
infoNodeValues
, BRugs
, help.WinBUGS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.