binary_or | R Documentation |
Calculates odds ratio across categories for binary data.
binary_or(dt, num_col, reference, digits)
dt |
the name of the dataframe object. |
num_col |
the number of categorical columns in the data. |
reference |
the name of the reference row category to use. |
digits |
significant digits to use. |
A dataframe with computed odds ratios between pairs of columns for binary data, as well as an overall chi-squared test across all groups.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.