Gamma Cumulative Distribution Function
Usage
prob_gamma(x, shape = 1, rate = 1)
Arguments
- x
A numeric vector of quantiles.
- shape
A non-negative numeric vector of shape.
- rate
A non-negative numeric vector of rate.
Value
An numeric vector of the corresponding probabilities.
See also
Other prob_dist:
prob_bern(),
prob_beta(),
prob_beta_binom(),
prob_binom(),
prob_exp(),
prob_gamma_pois(),
prob_gamma_pois_zi(),
prob_lnorm(),
prob_neg_binom(),
prob_norm(),
prob_pois(),
prob_pois_zi(),
prob_skewnorm(),
prob_student(),
prob_unif()
Examples
prob_gamma(c(0, 1, 2), 1, 2)
#> [1] 0.0000000 0.8646647 0.9816844