logit | R Documentation |
Compute the logit or anti-logit.
logit(p)
expit(theta)
p |
probability between 0 and 1. |
theta |
logit between -infinity and +infinity |
Computed logit or anti-logit
C.J.Schwarz cschwarz@stat.sfu.ca
##---- compute the logit and its inverse
logitp <- logit(.3)
p <- expit(-.84)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.