Plots the distribution of the original data beside the imputed data.
plotDistributions( miceObj, vars = names(miceObj$callParams$vars), dotsize = 0.5, ... )
an object of class miceDefs, created by the miceRanger function.
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'
Passed to geom_dotplot(). Depending on the number of graphs plotted, you may want to change the dot size for categorical variables.
geom_dotplot()
additional parameters passed to ggarrange().
ggarrange()
an object of class ggarrange.
ggarrange
# NOT RUN { data("sampleMiceDefs") plotDistributions(sampleMiceDefs) # }
Run the code above in your browser using DataCamp Workspace