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