View source: R/continuous_SuperLearner_regression.R
continuousSuperLearner | R Documentation |
Function to generate imputations using SuperLearner for data with a continuous outcome
continuousSuperLearner(y, x, wy, SL.library, kernel, bw, bw.update, ...)
y |
Vector of observed and missing/imputed values of the variable to be imputed. |
x |
Numeric matrix of variables to be used as predictors in SuperLearner models with rows corresponding to observed values of the variable to be imputed and columns corresponding to individual predictor variables. |
wy |
Logical vector. A TRUE value indicates locations in |
SL.library |
Either a character vector of prediction algorithms or a
list containing character vectors. A list of functions included in the
SuperLearner package can be found with |
kernel |
one of |
bw |
|
bw.update |
logical indicating whether bandwidths should be computed
every iteration or only on the first iteration. Default is |
... |
further arguments passed to |
numeric vector of randomly drawn imputed values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.