plotar valores ausentes
library(VIM)
missing_img <- select(data, imwbcnt, imbgeco, imueclt)
# visualize missingness
missing <- aggr(missing_img, prop = F, numbers = T)
#The plot on the left shows count of missing values for each variable. Each of variables have around 2000 missing avriables.
#The plot on the right shows the combination of missing values between variables
#- The first blue row shows that 45693 rows contain no NA
#- There are 762 rows where imwbcnt and imbgeco, imueclt contain NA at the same time
#- There are 850 rows where imwbcnt contains a missing value
#- and so on
Diana H