Skip to contents

This function makes a plot showing percentage content of missing values per variable. When a variable has more than 20% missing values its color is red.

Usage

plot_mv_segment(dat)

Arguments

dat

a data.frame containing missing values denoted by NA.

Value

A ggplot2 object.

Examples

data(sim_miss)
plot_mv_segment(sim_miss)