plotDistributions
Plots the distribution of the original data beside the imputed data.
plotDistributions( miceObj, vars = names(miceObj$callParams$vars), dotsize = 0.5, ... )
miceObj
: an object of class miceDefs, created by the miceRanger function.vars
: the variables you want to plot. Default is to plot all variables. Can be a vector of variable names, or one of 'allNumeric' or 'allCategorical'dotsize
: Passed to geom_dotplot()
. Depending on the number of graphs plotted, you may want to change the dot size for categorical variables....
: additional parameters passed to ggarrange()
.an object of class ggarrange
.
data("sampleMiceDefs") plotDistributions(sampleMiceDefs)