View source: R/causens_monte_carlo.R
causens_monte_carlo | R Documentation |
This function performs a Monte Carlo sensitivity analysis for causal effects.
causens_monte_carlo(outcome, exposure, confounders, data, ...)
outcome |
The name of the outcome variable in the data frame. |
exposure |
The name of the exposure 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. |
The estimated causal effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.