powered by
Calculate stratified risk estimates as per Chapter 15,
stratified_risk(data, exposure, outcome, stratifier, ci_level = 95)
A dataframe providing the exposure, outcome and stratifying variable
binary variable giving the exposure status
binary variable giving the outcome status
stratifying variable
variable giving the limits for the confidence interval
A dataframe giving an MH-adjusted risk ratio
# NOT RUN { data(tolbutamide) stratified_risk(tolbutamide, exposure = tolbutamide, outcome = dead, stratifier = age) # }
Run the code above in your browser using DataLab