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 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 kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman
Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.