R/uniform_dist.R
inv_cdf.uniform_dist.RdReturns a function that computes quantiles of the uniform distribution.
# S3 method for class 'uniform_dist'
inv_cdf(x, ...)A function function(p, lower.tail = TRUE, log.p = FALSE, ...)
returning the quantile at probability p.
x <- uniform_dist(0, 10)
q <- inv_cdf(x)
q(0.5)
#> [1] 5
q(0.9)
#> [1] 9