Description Usage Arguments Value Examples
Given a data frame, a risk factor column, and an outcome column, calculate odds ratio via epitools::oddsratio()
. Allows non-standard evaluation for use in dplyr
pipes.
1 | odds_ratio(df, exposure, outcome)
|
df |
a data frame |
exposure |
a logical vector representing a risk factor or exposure |
outcome |
a logical vector representing an outcome |
a list object produced by epitools::oddsratio()
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.