Learn R Programming

naniar (version 0.0.4.9000)

gg_missing_var: Plot the number of missings for each variable

Description

This function draws a ggplot plot of the number of missings in each column, rearranged to show which variables have the most missing data.

Usage

gg_missing_var(x)

Arguments

x

a dataframe

Value

a ggplot plot depicting the number of missings in a given column

Examples

Run this code
# NOT RUN {
gg_missing_var(airquality)

# }

Run the code above in your browser using DataLab