plotDistributions: plotDistributions
Description
Plots the distribution of the original data beside the imputed data.
Usage
plotDistributions(
miceObj,
vars = names(miceObj$callParams$vars),
dotsize = 0.5,
...
)
Arguments
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().
Value
an object of class ggarrange.
Examples
Run this code# NOT RUN {
data("sampleMiceDefs")
plotDistributions(sampleMiceDefs)
# }
Run the code above in your browser using DataLab