Logit and inverse-logit functions
logit() performs the logit function expit() performs the inverse logit function
A vector of probabilities on the interval [0,1] to be transformed into numbers on the real line.
A vector of numbers on the real line to be transformed into probabilities.
logit function is log(p / (1 - p)).
expit function is exp(x)/(1 + exp(x)).
logit returns a vector of real numbers.
expit returns a vector of probabilities.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.