logit
applies the logit transformation to convert a vector of values
between 0 and 1, to values between -Inf and Inf. Used to convert a
probability from a logistic regression model onto the linear predictor scale.
Examples
logit(0.5)
#> [1] 0
logit(c(0.1, 0.2, 0.3))
#> [1] -2.1972246 -1.3862944 -0.8472979