Description Usage Arguments Value
View source: R/gen_propensity_list.R
Takes in elements needed for propensity function, checks input and builds a named list.
1 2 3 4 5 | gen_propensity_list(
propensity_function = propensity_score_xgb(),
oos_propensity = FALSE,
n_folds = NULL
)
|
propensity_function |
A function that accepts a list with four elements: |
oos_propensity |
Logical, whether to predict out of sample for the propensity score. |
n_folds |
Default NULL; how many folds if using out of sample propensity. |
Named list, same names as input params.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.