plot.causalsens function

Plot a causal sensitivity analysis.

Plot a causal sensitivity analysis.

Plot the results of a sensitivity analysis against unmeasured confounding as perfomed by causalsens

## S3 method for class 'causalsens' plot(x, type = "r.squared", ...)

Arguments

  • x: causalsens object.

  • type: a string taking either the value "r.squared"

    (default), which plots the estimated effects as a function of the partial R-squared values, or "raw", which plots them as a function of the raw confounding values, alpha.

  • ...: other parameters to pass to the plot.