binary_rr | R Documentation |
Calculates risk ratio across categories for binary data.
binary_rr(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 risk 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.