missing_plot: Missing values occurence plot
Description
Create a plot of missing values by observations on the x-axis and variable on
the y-axis. Dependent
and explanatory
are for convenience and are optional.
Usage
missing_plot(.data, dependent = NULL, explanatory = NULL,
use_labels = TRUE, title = NULL, plot_opts = NULL)
Arguments
dependent
Character vector. Optional name of dependent variable.
explanatory
Character vector. Optional name(s) of explanatory
variables.
use_labels
Use variable label names in plot labelling.
title
Character vector. Optional title for plot.
plot_opts
A list of arguments to be appended to the ggplot call by
"+".
Value
Heat map of missing values in dataset.
Examples
Run this code# NOT RUN {
colon_s %>%
missing_plot()
# }
Run the code above in your browser using DataLab