
Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
# load packages
library(data.table)
# manipulate data
dt <- data.table(iris)
for (j in 1:4) set(dt, i = sample(150, j * 30), j, value = NA_integer_)
# plot and assign missing value information
na_profile <- plot_missing(dt)
na_profile
# }
Run the code above in your browser using DataLab