Description Usage Arguments Details Author(s) References Examples
rvbeta
generates a random vector from the beta sampling model;
1 | rvbeta(n = 1, shape1, shape2)
|
n |
integer, number of random variables to generate |
shape1 |
positive number or rv, 1st shape parameter |
shape2 |
positive number or rv, 2nd shape parameter |
rvnbeta(n, a, b)
("neutral" Beta distribution) is equivalent to
rvbeta(n, 1/3+a, 1/3+b)
.
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 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.