Description Usage Arguments Details Value See Also Examples
Performs the logit transformation. See the details below for exactly what this means.
1 | logit(x)
|
x |
A numeric vector, possibly length > 1, containing the number in the interval from [0,1] to convert to logit space. |
The logit tranformation turns a number in the interval [0,1] (e.g., the probability scale)
to logit-space, which ranges from negative to positive infinity. It is also known as
the log-odds transformation, and is a commonly used link function in GLMs using binary data.
I can never remember which transformation the built-in qlogis
or plogis
functions
do, so I wrote my own that are more in their names.
A numeric vector with the same length as x
containing the logit of x
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.