View source: R/SPARRAfairness_functions.R
logit | R Documentation |
Logit function: -log((1/x)-1)
logit(x)
x |
argument |
value of logit(x); na if x is outside (0,1)
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.