powered by
Calculates the odds ratio for a vector of two probabilities.
odds_ratio2(x)
A number.
A numeric vector of length 2.
Other odds fun2: log_odds_ratio2()
log_odds_ratio2()
odds_ratio2(c(0.5, 0.9)) odds_ratio2(c(0.9, 0.5))
Run the code above in your browser using DataLab