miceRanger (version 1.3.4)

plotVarConvergence: plotVarConvergence

Description

Plot the evolution of the dispersion and center of each variable. For numeric variables, the center is the mean, and the dispersion is the standard deviation. For categorical variables, the center is the mode, and the dispersion is the entropy of the distribution.

Usage

plotVarConvergence(miceObj, vars = names(miceObj$callParams$vars), ...)

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'

...

options passed to ggarrange()

Value

an object of class ggarrange.

Examples

Run this code
# NOT RUN {
data("sampleMiceDefs")
plotVarConvergence(sampleMiceDefs)
# }

Run the code above in your browser using DataCamp Workspace