Visualise the amount of missing data in a data matrix or data frame.
missing_data_plot(
data,
present.colour = "grey80",
missing.colour = "grey20",
use.names = TRUE
)A matrix plot showing where missing data is present.
Numeric matrix or data frame with NA for missing values.
The colour for data that is present. Default is 'grey80'.
The colour for data that is missing. Default is 'grey20'.
Logical. Label the axis with data variables names. Default is TRUE. Set to FALSE to remove.