Learn R Programming

VIM (version 7.0.0)

Visualization and Imputation of Missing Values

Description

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 gradient boosting (XGBoost) and transformer-based methods (Niederhametner et al., ). General background and practical guidance on imputation are provided in the Springer book by Templ (2023) .

Copy Link

Version

Install

install.packages('VIM')

Monthly Downloads

24,173

Version

7.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Matthias Templ

Last Published

January 10th, 2026

Functions in VIM (7.0.0)

countInf

Count number of infinite or missing values
diabetes

Indian Prime Diabetes Data
evaluation

Error performance measures
food

Food consumption
colormapMiss

Colored map with information about missing/imputed values
kNN

k-Nearest Neighbour Imputation
imputeRobust

Robust imputation
imputeRobustChain

FUNCTION_TITLE
initialise

Initialization of missing values
irmi

Iterative robust model-based imputation (IRMI)
impPCA

Iterative EM PCA imputation
growdotMiss

Growing dot map with information about missing/imputed values
histMiss

Histogram with information about missing/imputed values
kola.background

Background map for the Kola project data
hotdeck

Hot-Deck Imputation
medianSamp

Aggregation function for a ordinal variable
marginmatrix

Marginplot Matrix
maxCat

Aggregation function for a factor variable
matrixplot

Matrix plot
parcoordMiss

Parallel coordinate plot with information about missing/imputed values
mosaicMiss

Mosaic plot with information about missing/imputed values
pairsVIM

Scatterplot Matrices
marginplot

Scatterplot with additional information in the margins
mapMiss

Map with information about missing/imputed values
matchImpute

Fast matching/imputation based on categorical variable
pulplignin

Pulp lignin content
rangerImpute

Random Forest Imputation
sampleCat

Random aggregation function for a factor variable
rugNA

Rug representation of missing/imputed values
prepare

Transformation and standardization
regressionImp

Regression Imputation
scattmatrixMiss

Scatterplot matrix with information about missing/imputed values
pbox

Parallel boxplots with information about missing/imputed values
scattMiss

Scatterplot with information about missing/imputed values
scattJitt

Bivariate jitter plot
tableMiss

create table with highlighted missings/imputations
toydataMiss

Simulated toy data set for examples
xgboostImpute

Xgboost Imputation
vimpute

Impute missing values with prefered Model, sequentially, with hyperparametertuning and with PMM (if wanted) Need of 'helper_vimpute' script
tao

Tropical Atmosphere Ocean (TAO) project data
wine

Wine tasting and price
testdata

Simulated data set for testing purpose
sleep

Mammal sleep data
spineMiss

Spineplot with information about missing/imputed values
SBS5242

Synthetic subset of the Austrian structural business statistics data
alphablend

Alphablending for colors
bcancer

Breast cancer Wisconsin data set
brittleness

Brittleness index data set
VIM-package

The VIM Package: Visualization and Imputation of Missing Values
barMiss

Barplot with information about missing/imputed values
Animals_na

Animals_na
bgmap

Backgound map
chorizonDL

C-horizon of the Kola data with missing values
aggr

Aggregations for missing/imputed values
gowerD

Computes the extended Gower distance of two data sets
gapMiss

Missing value gap statistics
colic

Colic horse data set
colSequence

HCL and RGB color sequences
collisions

Subset of the collision data