Description Usage Arguments Details See Also Examples
transform x
either via the logit, or inverse logit.
1 2 3 4 5 |
x |
a numeric vector |
The loogit and inverse logit functions are part of R via the logistic distribution functions in the stats package. Quoting from the documentation for the logistic distribution
"qlogis(p)
is the same as the logit
function, logit(p) =
log(p/1-p)
, and plogis(x)
has consequently been called the 'inverse
logit'."
See the examples for benchmarking these functions. The logit
and
invlogit
functions are faster than the qlogis
and plogis
functions.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.