as.bugs.rv {rv} | R Documentation |
Coerces an rv object to a bugs object.
as.bugs.rv (x, DIC = FALSE)
x |
an rv |
DIC |
logical, if TRUE, compute deviance information criterion (DIC) |
a bugs object.
Works currently ONLY with random variable vectors that have been created from 3-dimensional arrays containing the MCMC chains. This may change in the future.
Jouni Kerman jouni@kerman.com
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")
.