calculate.odds.ratio: Calculate Odds Ratio

Description Usage Arguments Value Examples

View source: R/calculate_odds_ratio.R

Description

Calculates the odds ratio of two populations and returns either a data frame or a string containing the results.

Usage

1
2
calculate.odds.ratio(case.positive, case.negative, control.positive,
  control.negative, return_df = F)

Arguments

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.

Value

returns a string or a dataframe.

Examples

1
# ADD_EXAMPLES_HERE

avhgenomics/bioKIT documentation built on May 5, 2019, 12:29 a.m.