Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


DataExplorer (version 0.5.0)

plot_missing: Plot missing value profile

Description

This function returns and plots frequency of missing values for each feature.

Usage

plot_missing(data, title = NULL)

Arguments

data

input data to be profiled, in either data.frame or data.table format.

title

plot title

Value

missing value information, such as frequency, percentage and suggested action.

Details

The returned object is suppressed by invisible.

Examples

Run this code
# 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