[−][src]Function r_stats::binomial_quantile
pub fn binomial_quantile(
p: f64,
n: f64,
pr: f64,
lower_tail: bool,
log_p: bool
) -> f64
Evaluate the quantile function of the binomial distribution with n
trials and
probability of success pr
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()
.