gg_miss_which: Plot which variables contain a missing value

View source: R/gg-miss-which.R

gg_miss_whichR Documentation

Plot which variables contain a missing value

Description

This plot produces a set of rectangles indicating whether there is a missing element in a column or not. A default minimal theme is used, which can be customised as normal for ggplot.

Usage

gg_miss_which(x)

Arguments

x

a dataframe

Value

a ggplot object of which variables contains missing values

See Also

geom_miss_point() gg_miss_case() gg_miss_case_cumsum gg_miss_fct() gg_miss_span() gg_miss_var() gg_miss_var_cumsum() gg_miss_which()

Examples


gg_miss_which(airquality)

naniar documentation built on Feb. 16, 2023, 5:11 p.m.