plotDistributions: plotDistributions

Description Usage Arguments Value Examples

View source: R/plotDistributions.R

Description

Plots the distribution of the original data beside the imputed data.

Usage

1
2
3
4
5
6
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

1
2

miceRanger documentation built on Sept. 6, 2021, 5:07 p.m.