Description Usage Arguments Details Value Author(s)
helps to computes measures for two-group compaparison with two binary variables.
1 | estComp2binDS(formula = NULL, data = NULL)
|
formula |
a formula that that indicates the outcome and explanatory variable |
data |
the dataframe that holds the variables. |
generates a 2x2 table and puts the cell frequencies in a vector. Cell counts smaller than the allowed minimum count are replaced by 0. The ouput of this function can be used for example in the calculations of: log relative risk, log odds ratio and risk difference.
a numeric vector, the values 2x2 contingency table.
Gaye, A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.