Plot missingness

# S3 method for missingness
plot(x, remove_zeros = FALSE, max_char = 40,
  title = NULL, font_size = 11, point_size = 3, print = TRUE, ...)

Arguments

x

Data frame from missingness

remove_zeros

Remove variables with no missingness from the plot? Default = FALSE

max_char

Maximum length of variable names to leave untruncated. Default = 40; use Inf to prevent truncation. Variable names longer than this will be truncated to leave the beginning and end of each variable name, bridged by " ... ".

title

Plot title

font_size

Relative size of all fonts in plot, default = 11

point_size

Size of dots, default = 3

print

Print the plot? Default = TRUE

...

Unused

Value

A ggplot object, invisibly.

See also

Examples

pima_diabetes %>% missingness() %>% plot()