Calculates the log odds for probabilities.
log_odds(x)
A numeric object (vector, matrix or array) of probabilities.
A numeric object of the the log odds for each probability.
Other odds:
inv_odds()
,
log_odds<-()
,
log_odds_ratio()
,
odds<-()
,
odds_ratio()
,
odds()
log_odds(c(0, 0.5, 0.9, 1))
#> [1] -Inf 0.000000 2.197225 Inf