Description Usage Arguments Details Value See Also Examples
Performs the inverse-logit transformation. See the details below for exactly what this means.
1 | expit(x)
|
x |
A numeric vector with length >= 1 containing the number in logit space to convert to the [0,1] scale. |
The inverse logit tranformation turns any real number (negative to positive infinity) to
a number on the [0,1] scale (e.g., the probability scale).
I can never remember which transformation the built-in qlogis
or plogis
functions
do, so I wrote my own that are more explicit in their names.
A numeric vector with the same length as x
containing the inverse-logit of x
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.