View source: R/binary_SuperLearner_regression.R
binarySuperLearner | R Documentation |
Function to generate imputations using SuperLearner for data with a binary outcome.
binarySuperLearner(y, x, wy, SL.library, ...)
y |
Vector of observed values of the variable to be imputed. |
x |
Numeric matrix of variables to be used as predictors in SuperLearner methods with rows corresponding to values in Y. |
wy |
Logical vector of length |
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 SuperLearner::listWrappers(). |
... |
Further arguments passed to SuperLearner. |
Binary Vector of randomly drawn imputed values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.