Learn R Programming

BRugs (version 0.9-2.1)

infoNode: Node information

Description

List current values, data types and samplers corresponding to a variable.

Usage

infoNodeValues(nodeLabel)
infoNodeMethods(nodeLabel)
infoNodeTypes(nodeLabel)

Value

infoNodeValues returns a vector of the current (last sampled) values of a variable.

infoNodeMethods returns a data frame listing the method used internally by OpenBUGS to sample values from the full conditional distribution of the node.

infoNodeTypes returns a data frame listing the OpenBUGS data type which represents each node internally. For example, stochastic nodes with normal priors are of type GraphNormal.StdNode.

Arguments

nodeLabel

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

See Also

setValues, BRugs, help.WinBUGS