Plots densities and bar plots of the observed and imputed values in a long-format dataset (multiple imputed datasets stacked onto each other).
plot_imp_distr(data, imp = "Imputation_", id = ".id", rownr = ".rownr",
ncol = NULL, nrow = NULL, labeller = NULL)
a data.frame
containing multiple imputations
and the original incomplete data stacked onto each other
the name of the variable specifying the imputation indicator
the name of the variable specifying the subject indicator
the name of a variable identifying which rows correspond to the same observation in the original (un-imputed) data
optional; number of columns in the plot layout; automatically chosen if unspecified
optional; number of rows in the plot layout; automatically chosen if unspecified
optional labeller to be passed to
ggplot2::facet_wrap()
to change the facet labels