bias_plot {EValue}R 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)

[Package EValue version 4.1.3 Index]