View source: R/helper.functions.r
inverse.logit | R Documentation |
Calculates predicted probability for a given logged odds value. This function calculates predicted probability for a given logged odds value, often useful for plotting or reporting predicted probabilities.
inverse.logit(logged_odds)
logged_odds |
A numeric value, or vector of numeric values. |
Returns predicted probability corresponding the the logged odds value, a numeric value between 0 and 1.
library(RCPA3)
inverse.logit(0)
inverse.logit(-5:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.