plotVarImportance {miceRanger}R Documentation

plotVarImportance

Description

Plot the variable importance for each imputed variable. The values represent the variables on the top axis importance in imputing the variables on the left axis.

Usage

plotVarImportance(
  miceObj,
  display = c("Relative", "Absolute"),
  dataset = 1,
  ...
)

Arguments

miceObj

an object of class miceDefs, created by the miceRanger function.

display

How do you want to display variable importance?

  • "Relative" Scales the importance measure between 0-1 for each variable.

  • "Absolute" Displays the variable importance as is. May be highly skewed.

dataset

The dataset you want to plot the variable importance of.

...

Other arguments passed to corrplot().

Examples

data("sampleMiceDefs")
plotVarImportance(sampleMiceDefs)

[Package miceRanger version 1.5.0 Index]