missing_data_plot | R Documentation |
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
)
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. |
A matrix plot showing where missing data is present.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.