rvattr: Attributes of Random Variables
Usage
rvattr(x, attrib=NULL)
rvattr(x, attrib=NULL) <- value
Arguments
attrib
name of the attribute
value
list of values to set
Details
The values within the list value
are matched by their name (e.g. `theta[1]
') if possible;
if both x
and value
do not have names,
the list is matched by position.References
Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing
Posterior Simulations Using Random Variable Objects.
Statistics and Computing 17:3, 235-244.See also vignette("rv")
.