get_odds_ratio | R Documentation |
Computes odds ratio given two probabilities. In this package, the function can be used to compare the percentages of remaining participants between two conditions at a time.
get_odds_ratio(a, b)
a |
numeric probability value between 0 and 1. |
b |
numeric probability value between 0 and 1. |
Returns numerical vector of the same length as original input reflecting the Odds Ratio (OR).
get_odds()
, as this is the basis for calculation.
get_odds_ratio(0.7, 0.6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.