logit | R Documentation |
logit
applies the logit transformation to convert a vector of values
between 0 and 1, to values between -Inf and Inf. Used to convert a
probability from a logistic regression model onto the linear predictor scale.
logit(p)
p |
Numeric vector of probabilities (i.e. values between 0 and 1) that will be transformed. |
A numeric vector, with values between -Inf and Inf
inv_logit
logit(0.5)
logit(c(0.1, 0.2, 0.3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.