missing.plot | R Documentation |
NOTE: This is an experimental function and the results may vary depending on the nature of the dataset.
missing.plot(
x,
grouping,
grid = FALSE,
widths = c(ggplot2::unit(3, "null"), ggplot2::unit(1, "inches")),
heights = c(ggplot2::unit(1, "inches"), ggplot2::unit(3, "null")),
color = "red",
...
)
x |
a data frame containing the variables to visualize missingness |
grouping |
a vector of length nrow(vars) corresponding to how missing will be grouped by |
grid |
whether to draw a grid between tiles |
widths |
the ratio of the widths of the heatmap and histogram. |
heights |
the ratio of the heights of the heatmap and histogram. |
color |
the color used for indicating missingness. |
... |
currently unused. |
a ggplot2 expression
plot.mlpsa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.