rvgamma {rv} | R Documentation |
Generates random variables from a Gamma sampling model.
rvgamma(n=1, shape, rate = 1, scale = 1/rate)
n |
integer: number of variables to generate |
shape |
shape parameter, may be a rv |
rate |
rate parameter, may be a rv |
scale |
inverse of rate, may be specified optionally instead of rate |
rvgamma
A random vector (rv object).
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.
#