This function plots a ggplot to visualize the distribution of NAs across all variables in the data set.

overview_na(dat, yaxis = "Variables", perc = TRUE)

Arguments

dat

Your data set

yaxis

Label of your y axis ("Variables" is default)

perc

If TRUE (default) plot returns the number of NAs in percentage

Value

A ggplot figure that presents the distribution of NAs in the data set

Examples

data(toydata) overview_na(toydata, perc = FALSE)