Description Usage Arguments Details Author(s) References Examples
Returns the simulation matrix for the random variable object x
.
1 2 3 4 5 6 7 |
x |
a random variable object |
... |
arguments passed on |
dimensions |
logical, try to preserve the dimensions of |
n.sims |
(optional) number of simulations |
sims
returns the matrix of simulations for a given random variable
object x
.
The first index of the matrix indicates the number of the simulation draw ("simulations are in rows").
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")
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.