Monte Carlo sensitivity analysis for causal effects
Source:R/causens_monte_carlo.R
causens_monte_carlo.Rd
This function performs a Monte Carlo sensitivity analysis for causal effects.
Arguments
- exposure
The name of the exposure variable in the data frame.
- outcome
The name of the outcome variable in the data frame.
- confounders
The name of the confounders in the data frame.
- data
A data frame containing the exposure, outcome, and confounder variables.
- ...
Additional arguments to be passed to the function.