View source: R/mcee_helper_nuisance_config.R
| mcee_config_rf | R Documentation |
Creates a configuration to fit nuisance parameters using random forests
via randomForest::randomForest(). Good for nonlinear patterns.
mcee_config_rf(target, formula)
target |
Character. Nuisance parameter name ("p", "q", "eta", "mu", "nu"). |
formula |
RHS-only formula (e.g., |
A configuration list for use with mcee_general.
# Random forest for complex propensity model
cfg_q <- mcee_config_rf("q", ~ dp + M + X1 + X2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.