create table with highlighted missings/imputations
create table with highlighted missings/imputations
Create a reactable table that highlights missing values and imputed values with the same colors as histMiss()
tableMiss(x, delimiter ="_imp")
Arguments
x: a vector, matrix or data.frame.
delimiter: a character-vector to distinguish between variables and imputation-indices for imputed variables (therefore, x needs to have colnames()). If given, it is used to determine the corresponding imputation-index for any imputed variable (a logical-vector indicating which values of the variable have been imputed). If such imputation-indices are found, they are used for highlighting and the colors are adjusted according to the given colors for imputed variables (see col).