View source: R/plotCorrelations.R
plotCorrelations | R Documentation |
Plot the correlation of imputed values between every combination of datasets for each variable.
plotCorrelations( miceObj, vars = names(miceObj$callParams$vars), factCorrMetric = "CramerV", numbCorrMetric = "pearson", ... )
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' |
factCorrMetric |
The correlation metric for categorical variables. Can be one of:
|
numbCorrMetric |
The correlation metric for numeric variables. Can be one of:
|
... |
Other arguments to pass to ggarrange() |
an object of class ggarrange
.
data("sampleMiceDefs") plotCorrelations(sampleMiceDefs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.