logit | R Documentation |
The logit function is a standard transformation from [0,1] (such as a probability) to the real number line. This function is exactly the same as qlogis.
logit(p, location = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)
p |
a number between 0 and 1 |
location |
see qlogis |
scale |
see qlogis |
lower.tail |
see qlogis |
log.p |
see qlogis |
qlogis, plogis
logit(.5) # 0
logit(.25) # -1.098
logit(0) # -Inf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.