Learn R Programming

tipr (version 0.4.0)

adjust_rr: Adjust an observed relative risk for a normally distributed confounder

Description

Adjust an observed relative risk for a normally distributed confounder

Usage

adjust_rr(effect, smd, outcome_association, verbose = TRUE)

Arguments

effect

Numeric positive value. Observed exposure - outcome relative risk. This can be the point estimate, lower confidence bound, or upper confidence bound.

smd

Numeric. Estimated difference in scaled means between the unmeasured confounder in the exposed population and unexposed population

outcome_association

Numeric. Estimated association between the unmeasured confounder and the outcome.

verbose

Logical. Indicates whether to print informative message. Default: TRUE

Value

Data frame.

Examples

Run this code
# NOT RUN {
adjust_rr(1.2, 0.5, 1.1)
# }

Run the code above in your browser using DataLab