A plot comparing observed and imputed data for each variable. There is currently assumed to be a group column (grp) which identifies the separate analyses. The plot uses ggplot2::facet_grid() with groups as rows and variables as columns. Categorical data is plotted with a bar plot and kernel density estimates are used for the continuous variables.

# S3 method for observed_vs_imputed
autoplot(object)

Arguments

object

An observed_vs_imputed object.

Value

A ggplot2::ggplot object.