powered by
The logit function: f(x) = log(x / (1/x)). Large absolute values of x will be truncated to +/- 5 after logit transformation according to its sign.
logit(x)
a number or real-valued vector
a value or a numeric vector between 0 and 1 (exclusive)
logit(0.2) logit(c(0.2, 0.6, 0.95))
Run the code above in your browser using DataLab