R/weibull_dist.R
inv_cdf.weibull_dist.RdReturns a function that computes quantiles of the Weibull distribution.
# S3 method for class 'weibull_dist'
inv_cdf(x, ...)A function function(p, lower.tail = TRUE, log.p = FALSE, ...)
returning the quantile at probability p.
x <- weibull_dist(shape = 2, scale = 3)
q <- inv_cdf(x)
q(0.5)
#> [1] 2.497664
q(0.95)
#> [1] 5.192455