ilogit.Rd
This implements the inverse logit function. This function is also the
cumulative distribution function of the logistic distributions, and so is
available using the stats::plogis()
function.
ilogit(log_odds)
log_odds | A numeric vector of positive or negative real numbers that represent log odds, also known as logits. |
---|
A vector of probabilities, which are values between 0.0 and 1.0.
x <- rnorm(5) ilogit(x) #> [1] 0.19780921 0.56348477 0.08037494 0.49860718 0.65057161