Closed mehrdad123qaderi closed 3 months ago
Thanks. This is not a full reprex, so please craft your code so that others can reproduce.
No reprex. Superleaner
is not a mice
method, so the error may result from differences in implementation. Closing now.
in this code: SL.lib <- c("SL.mean") imp.SL <- mice::mice( df_missing10, m = 5, maxit = 5, method = "SuperLearner", print = FALSE, SL.library = SL.lib) i have error: Error in names(newdata) <- sapply(1:ncol(newdata), function(n) { : 'names' attribute [2] must be the same length as the vector [0