as.list.rv | R Documentation |
as.list.rv
coerces a given rv
object into a list.
## S3 method for class 'rv' as.list(x, ...)
x |
an rv object |
... |
arguments passed on to other methods |
Each component of the argument is extracted into a component of an enclosing list, which is returned.
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")
.
x <- rvnorm(10) L <- as.list(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.