Compare the occurence of missing values in all variables by each other.
Suggest limit the number of variables to a maximum of around six.
Dependent
and explanatory
are for convenience of variable
selection, are optional, and have no other specific function.
missing_pairs(
.data,
dependent = NULL,
explanatory = NULL,
use_labels = TRUE,
title = NULL,
position = "stack",
showXAxisPlotLabels = TRUE,
showYAxisPlotLabels = FALSE
)
Data frame.
Character vector. Optional name of dependent variable.
Character vector. Optional name(s) of explanatory variables.
Use variable label names in plot labelling.
Character vector. Optional title for plot.
For discrete variables, choose "stack" or "fill" to show counts or proportions.
Show x-axis plot labels.
Show y-axis plot labels.
A plot matrix comparing missing values in all variables against each other.