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] 0.109122156 0.463496573 2.318645089 0.099700437 0.789578698 0.003006878
#> [7] 3.549754306 0.320788501 0.057208557 1.192544692