Description Usage Arguments Details Value Author(s) References Examples
Coerces a given vector of constants into a random vector with 1 simulation in each component.
1 | rvconst(n = 1, x = 0)
|
n |
integer: number of variables to generate |
x |
a vector of constants |
Coerces a given vector of constants into a random vector with 1 simulation in each component.
A random vector (rv object) of length n
.
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.