powered by
This wrapper is helpful because missForest crashes if you have more cores than variables. This will default to no parellelization for Windows
newMatrix <- missForest.par(dataMat)
missForest.par(dataMat, parallelize = "variables")
a matrix including imputed values
Columns are features, Rows examples. The data with NA values. 'xmis' in missForest
split on 'forests' or 'variables' (DEFAULT: 'variables')
library(ADAPTS) LM22 <- ADAPTS::LM22 LM22[2,3] <- as.numeric(NA) #Make some missing data to impute LM22.imp <- missForest.par(LM22)
Run the code above in your browser using DataLab