stratified_risk: Stratified risk

Description Usage Arguments Value Examples

Description

Calculate stratified risk estimates as per Chapter 15,

Usage

1
stratified_risk(data, exposure, outcome, stratifier, ci_level = 95)

Arguments

data

A dataframe providing the exposure, outcome and stratifying variable

exposure

binary variable giving the exposure status

outcome

binary variable giving the outcome status

stratifier

stratifying variable

ci_level

variable giving the limits for the confidence interval

Value

A dataframe giving an MH-adjusted risk ratio

Examples

1
2
3
data(tolbutamide)
stratified_risk(tolbutamide, exposure = tolbutamide, outcome = dead,
    stratifier = age)

episheet documentation built on May 2, 2019, 11:44 a.m.