as.bugs.rv {rv}R Documentation

Coerce an rv object to a bugs object

Description

Coerces an rv object to a bugs object.

Usage

  as.bugs.rv (x, DIC = FALSE)

Arguments

x an rv
DIC logical, if TRUE, compute deviance information criterion (DIC)

Value

a bugs object.

Note

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.

Author(s)

Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.


[Package rv version 0.949 Index]