Description Usage Arguments Details Value Author(s) References Examples
Generates random variables from a Gamma sampling model.
1 |
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 |
rvngamma(n, shape, rate)
is equivalent to rvgamma(n, 1/3 +
shape, rate)
.
A random vector (rv object).
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.