View source: R/risk_ratio_to_odds_ratio.R
risk_ratio_to_odds_ratio | R Documentation |
Calculate an odds ratio (OR) from a risk ratio (RR) and the outcome prevalence in the unexposed (referent) group.
risk_ratio_to_odds_ratio(.riskratio = NULL, .baseline = NULL)
.riskratio |
numeric: risk ratio. |
.baseline |
numeric: outcome prevalence in unexposed (referent) group. |
An odds ratio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.