Display variable importance
fdPanelImportance(mod, digits = 2, barColor = "steelblue")
library(rpart) data(ptitanic, package = 'rpart.plot') if (interactive()){ rpart(survived ~ ., data = ptitanic) %>% fdPanelImportance %>% fdPreview }