inverse.logit {RCPA3} | R Documentation |
Converts linear predictor to probability
Description
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.
Usage
inverse.logit(logged_odds)
Arguments
logged_odds |
A numeric value, or vector of numeric values. |
Value
Returns predicted probability corresponding the the logged odds value, a numeric value between 0 and 1.
Examples
library(RCPA3)
inverse.logit(0)
inverse.logit(-5:5)
[Package RCPA3 version 1.3.1 Index]