Effect measure for association between two categorical variables
Source:R/effect.R
effect_tabular.Rd
User can either use or extend these functions to configure effect calculation.
Usage
effect_odds_ratio(x, by, conf_level = 0.95)
effect_relative_risk(x, by, conf_level = 0.95)
effect_risk_difference(x, by, conf_level = 0.95)
Functions
effect_odds_ratio()
: (Default) calculate the odds ratioeffect_relative_risk()
: calculate the relative riskeffect_risk_difference()
: calculate the risk difference