plotDistributions {miceRanger} | R Documentation |
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 |
... |
additional parameters passed to |
Value
an object of class ggarrange
.
Examples
data("sampleMiceDefs")
plotDistributions(sampleMiceDefs)
[Package miceRanger version 1.5.0 Index]