logit {SPARRAfairness} | R Documentation |
Logit
Description
Logit function: -log((1/x)-1)
Usage
logit(x)
Arguments
x |
argument |
Value
value of logit(x); na if x is outside (0,1)
Examples
# Plot
x=seq(0,1,length=100)
plot(x,logit(x),type="l")
# Logit and logistic are inverses
x=seq(-5,5,length=1000)
plot(x,logit(logistic(x)),type="l")
[Package SPARRAfairness version 0.0.0.1 Index]