missing_data_plot {sparseDFM} | R Documentation |
Plot the missing data in a data matrix/frame
Description
Visualise the amount of missing data in a data matrix or data frame.
Usage
missing_data_plot(
data,
present.colour = "grey80",
missing.colour = "grey20",
use.names = TRUE
)
Arguments
data |
Numeric matrix or data frame with NA for missing values. |
present.colour |
The colour for data that is present. Default is 'grey80'. |
missing.colour |
The colour for data that is missing. Default is 'grey20'. |
use.names |
Logical. Label the axis with data variables names. Default is TRUE. Set to FALSE to remove. |
Value
A matrix plot showing where missing data is present.
[Package sparseDFM version 1.0 Index]