Method for obtaining the cdf of a gamma_dist object.

# S3 method for class 'gamma_dist'
cdf(x, ...)

Arguments

x

The gamma_dist object

...

Additional arguments (not used)

Value

A function that computes the cdf at point(s) t

Examples

x <- gamma_dist(shape = 2, rate = 1)
F <- cdf(x)
F(1)
#> [1] 0.2642411
F(2)
#> [1] 0.5939942