Learn R Programming

BRugs (version 0.8-2)

infoNode: Node information

Description

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

Usage

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

Arguments

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

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.

See Also

setValues, BRugs, help.WinBUGS