logit {BTSPAS} | 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)