Visualization and Imputation of Missing Values

Provides methods for imputation and visualization of missing values. It includes graphical tools to explore the amount, structure and patterns of missing and/or imputed values, supporting exploratory data analysis and helping to investigate potential missingness mechanisms (details in Alfons, Templ and Filzmoser, ). The quality of imputations can be assessed visually using a wide range of univariate, bivariate and multivariate plots. The package further provides several imputation methods, including efficient implementations of k-nearest neighbour and hot-deck imputation (Kowarik and Templ 2013, ), iterative robust model-based multiple imputation (Templ 2011, ; Templ 2023, ), and machine learning–based approaches such as robust GAM-based multiple imputation (Templ 2024, ) as well as random forest and gradient boosting (XGBoost) imputation (Niederhametner et al., ). General background and practical guidance on imputation are provided in the Springer book by Templ (2023) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("VIM")

7.3.1 by Matthias Templ, a month ago


https://github.com/statistikat/VIM


Report a bug at https://github.com/statistikat/VIM/issues


Browse source code at https://github.com/cran/VIM


Authors: Matthias Templ [aut, cre] , Alexander Kowarik [aut] (ORCID: , Andreas Alfons [aut] , Johannes Gussenbauer [aut] , Nina Niederhametner [aut] , Eileen Vattheuer [aut] , Gregor de Cillia [aut] , Bernd Prantner [ctb] , Wolfgang Rannetbauer [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports grDevices, robustbase, stats, sp, vcd, nnet, e1071, methods, Rcpp, utils, graphics, laeken, ranger, MASS, Matrix, xgboost, data.table

Depends on colorspace, grid

Suggests mlr3, mlr3pipelines, mlr3learners, mlr3tuning, paradox, R6, future, dplyr, tinytest, knitr, mgcv, rmarkdown, reactable, covr, withr, pdist, enetLTS, robmixglm, stringr, glmnet, validate, ECOSolveR, cellWise, crmReg, mice, car, lgr, rpart, missRanger, tidyr

Linking to Rcpp


Imported by DTSR, FuzzyImputationTest, MAICtools, MIGEE, blockwise, cataScience, deepImp, lfproQC, missPLS, onlineBcp, pguIMP, promor, riskutility, robCompositions, sdcMicro, simPop, simputation.

Suggested by DataFusionGDM, bioLeak, clusterMI, eHDPrep, fastml, heaping, micemd, missknn, pandemonium, risdr.


See at CRAN