View source: R/mcee_helper_nuisance_config.R
mcee_config_sl_user | R Documentation |
Creates a configuration to fit nuisance parameters using SuperLearner with a user-specified library (required parameter).
mcee_config_sl_user(target, formula, SL.library, clipping = NULL)
target |
Character. Nuisance parameter name ("p", "q", "eta", "mu", "nu"). |
formula |
RHS-only formula (e.g., |
SL.library |
Character vector of learner names (required). |
clipping |
Optional numeric vector |
A configuration list for use with mcee_general
.
# SuperLearner with specific library
cfg_mu <- mcee_config_sl_user("mu", ~ dp + M + X1,
SL.library = c("SL.glm", "SL.earth", "SL.nnet")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.