bias_plot: Plot bias factor as function of confounding relative risks

View source: R/EValue.R

bias_plotR Documentation

Plot bias factor as function of confounding relative risks

Description

Plots the bias factor required to explain away a provided relative risk.

Usage

bias_plot(RR, xmax)

Arguments

RR

The relative risk

xmax

Upper limit of x-axis.

Examples

# recreate the plot in VanderWeele and Ding (2017)
bias_plot(RR=3.9, xmax=20)

EValue documentation built on Aug. 29, 2025, 5:20 p.m.