rvconst {rv} | R Documentation |
Coerces a given vector of constants into a random vector with 1 simulation in each component.
rvconst(n=1,x)
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")
.
#