tableMiss {VIM} | R Documentation |
create table with highlighted missings/imputations
Description
Create a reactable
table that highlights missing values and imputed values
with the same colors as histMiss()
Usage
tableMiss(x, delimiter = "_imp")
Arguments
x |
a vector, matrix or |
delimiter |
a character-vector to distinguish between variables and
imputation-indices for imputed variables (therefore, |
Examples
data(tao)
x_IMPUTED <- kNN(tao[, c("Air.Temp", "Humidity")])
tableMiss(x_IMPUTED[105:114, ])
x_IMPUTED[106, 2] <- NA
x_IMPUTED[105, 1] <- NA
x_IMPUTED[107, "Humidity_imp"] <- TRUE
tableMiss(x_IMPUTED[105:114, ])
[Package VIM version 6.2.2 Index]