r_beta {rando} | R Documentation |
Generate Beta Distributed Values
Description
Generates a set of Beta distributed values.
Usage
r_beta(alpha, beta, ..., n = default_n(alpha, beta), .seed = NULL)
Arguments
alpha , beta |
vectors of shape parameters, strictly positive |
... |
Unused |
n |
number of observations to generate. The |
.seed |
One of the following:
To extract the random seed from a previously generated set of
values, use |
Value
A numeric vector of length n
Examples
set_n(5)
r_beta(1, 1)
r_beta(1:10, 2)
r_beta(1, 2, n = 10)
[Package rando version 0.2.0 Index]