View source: R/GLM_functions.R
invlogit | R Documentation |
This function performs the inverse logit transformation, which converts continuous values to the range (0, 1).
invlogit(x)
x |
A vector of numeric values. |
=============================================================================
The inverse logit transform is useful when you want to convert an estimate from the log odds (logit) scale back into a probability. That may happen when working with logistic regression models.
A vector of estimated probabilities.
invlogit(0)
round(invlogit(-7:7), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.