View source: R/fit_mechanisms.R
Fit propensity score regression while conditioning on mediators
1 | fit_e_mech(data, valid_data = NULL, learners, z_names, w_names)
|
data |
A |
valid_data |
A holdout data set, with columns exactly matching those
appearing in the preceding argument |
learners |
A |
z_names |
A |
w_names |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.