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)adjust_rr_with_continuous(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