View source: R/fit_mechanisms.R
fit_treat_mech | R Documentation |
Fit propensity scores for treatment contrasts
fit_treat_mech(
train_data,
valid_data = NULL,
contrast,
learners,
m_names,
w_names,
type = c("g", "h"),
bounds = c(0.01, 0.99)
)
train_data |
A |
valid_data |
A holdout data set, with columns exactly matching those
appearing in the preceding argument |
contrast |
A |
learners |
|
m_names |
A |
w_names |
A |
type |
A |
bounds |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.