logit {Petersen} | R Documentation |
Logit and anti-logit function.
Description
Compute the logit or anti-logit.
Usage
logit(p)
expit(theta)
Arguments
p |
probability between 0 and 1. |
theta |
logit between -infinity and +infinity |
Value
Computed logit or anti-logit
Author(s)
C.J.Schwarz cschwarz.stat.sfu.ca@gmail.com
Examples
##---- compute the logit and its inverse
logitp <- logit(.3)
p <- expit(-.84)
[Package Petersen version 2024.6.1 Index]