Description Usage Arguments Value Examples
View source: R/calculate_odds_ratio.R
Calculates the odds ratio of two populations and returns either a data frame or a string containing the results.
1 2 | calculate.odds.ratio(case.positive, case.negative, control.positive,
control.negative, return_df = F)
|
case.positive |
How many in the case population that are positive for the test; integer. |
case.negative |
How many in the case population that are negative for the test; integer. |
control.positive |
How many in the control population that are positive for the test; integer. |
control.negative |
How many in the control population that are negative for the test; integer. |
return_df |
Return a dataframe instead of a string? logical. |
returns a string or a dataframe.
1 | # ADD_EXAMPLES_HERE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.