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 jouni@kerman.com

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").


[Package rv version 1.0 Index]