Description Usage Arguments Value See Also Examples
This function returns and plots frequency of missing values for each feature.
1 2 3 4 5 6 7 8 9 |
data |
input data |
group |
missing profile band taking a list of group name and group upper bounds. Default is |
missing_only |
plot features with missing values only? Default is |
geom_label_args |
a list of other arguments to geom_label |
title |
plot title |
ggtheme |
complete ggplot2 themes. The default is theme_gray. |
theme_config |
a list of configurations to be passed to theme. |
invisibly return the ggplot object
profile_missing
1 2 3 4 5 6 7 8 9 | plot_missing(airquality)
plot_missing(airquality, missing_only = TRUE)
## Customize band
plot_missing(airquality, group = list("B1" = 0, "B2" = 0.06, "B3" = 1))
## Shrink geom_label size
library(ggplot2)
plot_missing(airquality, geom_label_args = list("size" = 2, "label.padding" = unit(0.1, "lines")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.