Description Usage Arguments Value
For plotting a table of a dataset where missingness is mapped to cell/tile color. Remember the distinction between actual and structural missingness due to the data-format and impossible values. You can easily explore the patterns in missigness visually with this function by sorting the dataset differently before plotting.
1 2 | plot_missing(data, tile_colors = c("#f2f4fb", "#c30000"),
text_size = 9, variables_max_n = 1000)
|
data |
A dataframe. |
text_size |
An integer size for the variable names on the y-axis. |
variables_max_n |
The maximum number of variables that can be plotted. Prevents unwanted slow plotting. |
color_values |
A character vector of two color hex values. The second one is for the missing values. |
A ggplot2 object of the visualized table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.