Skip to contents

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.

Examples

prob_gamma(c(0, 1, 2), 1, 2)
#> [1] 0.0000000 0.8646647 0.9816844