View source: R/MakeSigMatrix.R
missForest.par | R Documentation |
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")
dataMat |
Columns are features, Rows examples. The data with NA values. 'xmis' in missForest |
parallelize |
split on 'forests' or 'variables' (DEFAULT: 'variables') |
a matrix including imputed values
library(ADAPTS) LM22 <- ADAPTS::LM22 LM22[2,3] <- as.numeric(NA) #Make some missing data to impute LM22.imp <- missForest.par(LM22)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.