chi_squared object.R/chi_squared.R
inv_cdf.chi_squared.RdMethod for obtaining the inverse cdf (quantile function) of a chi_squared
object.
# S3 method for class 'chi_squared'
inv_cdf(x, ...)A function that computes the quantile at probability p
x <- chi_squared(5)
q <- inv_cdf(x)
q(0.5)
#> [1] 4.35146
q(0.95)
#> [1] 11.0705