rvexp {rv} | R Documentation |
rvexp
rvexp(n=1, rate = 1)
n |
integer: number of variables to generate |
rate |
prior distribution for the rate parameter (constant or random) |
rvexp
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.
y <- rvexp(1, rate=rvexp(1)) # What marginal distribution does y have now?