Bar plot to summarize the number of missing observations for each variable selected in count_missing(). Plots are faceted by analysis number and variables are on the x-axis in each facet.

# S3 method for missing_counts
autoplot(object, yvar = c("prop_missing", "n_missing"))

Arguments

object

An object of class missing_counts.

yvar

Character vector of length 1 indicating whether the y-axis should report the proportion of missing observations ("prop_missing") or the number of missing observations ("n_missing").

Value

A ggplot2::ggplot object.