powered by
Calculates the odds ratio for two probabilities.
odds_ratio(x, x2)
A numeric object (vector, matrix or array) of probabilities.
A second numeric object of probabilities.
A numeric object of the odds ratios.
Other odds: log_odds_ratio(), odds()
log_odds_ratio()
odds()
# NOT RUN { odds_ratio(0.5, 0.75) # }
Run the code above in your browser using DataLab