statrs::function::logistic

Function checked_logit

Source
pub fn checked_logit(p: f64) -> Result<f64>
Expand description

Computes the logit function

ยงErrors

If p < 0.0 or p > 1.0