View source: R/missing_pattern.R
missing_pattern | R Documentation |
Creates a summary of number of missing values by combination of variables.
missing_pattern(data, ignore = c(), plot = TRUE)
data |
dataset to be analysed. |
ignore |
columns in dataset to be ignored. |
plot |
a logical indicating whether the results should be plotted. |
Identifies all combinations of variables which are missing values (NAs or blanks). Then calculates the frequency of missing values for each identified combination and then produces a heatmap of the result.
a list of various summaries and plots on the missing pattern.
## Not run:
if(interactive()){
data(property_prices)
miss <- missing_pattern(property_prices)
# plot heat map
miss$plot()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.