powered by
Generic method for obtaining the quantile (inverse cdf) of an object.
inv_cdf(x, ...)
A function computing the quantile (inverse CDF).
The object to obtain the quantile of.
Additional arguments to pass.
x <- normal(0, 1) Q <- inv_cdf(x) Q(0.5) # 0 (median of standard normal) Q(0.975) # approximately 1.96
Run the code above in your browser using DataLab