Description Usage Arguments Examples
This function allows for odds ratio calculations.
1 | odds_ratio(a, b, c, d, ci = FALSE, alpha = 0.05, paired = FALSE)
|
a |
The exposed + disease + count |
b |
The exposed + disease - count |
c |
The exposed - disease + count |
d |
The exposed - disease - count |
ci |
Return a confidence interval instead of point estimate |
alpha |
The confidence level of the interval |
paired |
Is the study design based on matched pairs? |
1 2 | odds_ratio(30,40,10,50)
odds_ratio(30,40,10,50,ci = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.