[][src]Function r_mathlib::normal_quantile

pub fn normal_quantile(
    p: f64,
    mu: f64,
    sigma: f64,
    lower_tail: bool,
    log_p: bool
) -> f64

Evaluate the quantile function of the normal distribution with mean mu and variance sigma squared 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() on the result.