Display variable importance

fdPanelImportance(mod, digits = 2, barColor = "steelblue")

Arguments

mod
model object
digits
number of digits to display
barColor
bar color

Examples

library(rpart)
data(ptitanic, package = 'rpart.plot')
if (interactive()){
  rpart(survived ~ ., data = ptitanic) %>%
    fdPanelImportance %>%
    fdPreview
}