[][src]Function r_stats::chi_squared_quantile

pub fn chi_squared_quantile(
    p: f64,
    df: f64,
    lower_tail: bool,
    log_p: bool
) -> f64

Evaluate the quantile function of the chi-squared distribution with df degrees of freedom at probability p.

If lower_tail is true, then p is the integral from -∞ to x, else it is the integral from x to . "Usual" behaviour corresponds to true.

If log_p is true, the natural logarithm of the value will be returned, with potentially higher numerical accuracy than calling .ln().