expit | R Documentation |
expit: inverse of logit
expit(input)
input |
input a vector of value(s). These values can be between negative infinity to infinity. |
Returns value(s) that are proportion(s) between 0 and 1
# taking the expit of any value(s) between negative infinity and infinity & return a proportion
expit(3)
# taking the expit of a vector of values
expit(c(-0.1, 2, 1.5, -1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.