as.rv.bugs | R Documentation |
as.rv.bugs
coerces an R2WinBUGS
object to a list of rv
objects or to a named rv object (vector).
## S3 method for class 'bugs' as.rv(x, list. = TRUE, ...)
x |
a bugs (R2WinBUGS) object |
list. |
logical; return a list of |
... |
(ignored) |
as.rvsummary.bugs
works similarly but coerces the resulting rv
objects into rvsummary
objects.
If list.=TRUE
, a named list of random vectors or a
named random vector, otherwise a random vector. (Usually one would prefer a
list.)f
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")
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.