Currently the MiceMf
package is only available as source files on
GitHub, any interested user can install and test the MiceMf
package by
running the following code in R:
if(!"remotes" %in% installed.packages()) install.packages("remotes")
remotes::install_github("shangzhi-hong/MiceMf")
library(MiceMf)
# Perform imputation
data("airquality")
# Get the imputed data
resCmp <- MiceMf(airquality)
resCmpNorm <- MiceMfNorm(airquality)
library(MiceMf)
# Perform imputation
data("airquality")
impObj <- mice(airquality, method = "mf", m = 1, printFlag = FALSE)
impObjNorm <- mice(airquality, method = "mf.norm", m = 1, printFlag = FALSE)
# Get the complete data
resCmp <- complete(impObj, action = 1L)
resCmpNorm <- complete(impObjNorm, action = 1L)
library(MiceMf)
# Perform imputation
data("airquality")
impObj <- missForestMice(airquality)