powered by
Returns a function that computes quantiles of the uniform distribution.
# S3 method for uniform_dist inv_cdf(x, ...)
A function function(p, lower.tail = TRUE, log.p = FALSE, ...)
function(p, lower.tail = TRUE, log.p = FALSE, ...)
returning the quantile at probability p.
p
A uniform_dist object.
uniform_dist
Additional arguments (not used).
x <- uniform_dist(0, 10) q <- inv_cdf(x) q(0.5) q(0.9)
Run the code above in your browser using DataLab