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 kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman
Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.
#