Returns a function that evaluates the Weibull CDF at given points.

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

Arguments

x

A weibull_dist object.

...

Additional arguments (not used).

Value

A function function(q, log.p = FALSE, ...) returning the CDF (or log-CDF) at q.

Examples

x <- weibull_dist(shape = 2, scale = 3)
F <- cdf(x)
F(1)
#> [1] 0.1051607
F(3)
#> [1] 0.6321206