View source: R/helper_vimpute.R
| extract_model_info | R Documentation |
Drills into an mlr3 learner or raw model to retrieve residuals, scale estimate, and robustness weights needed for bootstrap resampling.
extract_model_info(model, method = "robust")
model |
A fitted model object (lm, lmrob, gam, ranger, or mlr3 GraphLearner) |
method |
The vimpute method string: "robust", "ranger", "xgboost", "regularized" |
List with components: residuals (numeric vector or NULL), scale (numeric scalar or NULL), weights (numeric vector or NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.