Learn R Programming

causalsens (version 0.1.3)

plot.causalsens: Plot a causal sensitivity analysis.

Description

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

Usage

# S3 method for 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.