Description Usage Arguments Details Author(s) References Examples
as.vector.rv
coerces a given rv
object into a vector;
matrices lose their dimension attributes, but rv
objects
stay as rv
objects (since they are considered to be “vectors”).
1 2 |
x |
an object |
mode |
(currently not used) |
as.vector.rv
removes the dimension attribute and returns the rv object.
Needed for compatibility with code that uses as.vector
.
Jouni Kerman [email protected]
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")
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.