Usage
ran_gamma(n = 1, shape = 1, rate = 1)
Arguments
- n
A non-negative whole number of the number of random samples to
generate.
- shape
A non-negative numeric vector of shape.
- rate
A non-negative numeric vector of rate.
Value
A numeric vector of the random samples.
See also
Other ran_dist:
ran_bern(),
ran_beta_binom(),
ran_binom(),
ran_gamma_pois(),
ran_gamma_pois_zi(),
ran_lnorm(),
ran_neg_binom(),
ran_norm(),
ran_pois(),
ran_pois_zi(),
ran_skewnorm(),
ran_student()
Examples
ran_gamma(10)
#> [1] 1.32077986 1.23941393 0.98724990 1.45433900 0.54814905 0.25240455
#> [7] 0.07710856 0.13335645 0.56161340 0.58459069