Description Usage Arguments Examples
Display variable importance
1 | fdPanelImportance(mod, digits = 2, barColor = "steelblue")
|
mod |
model object |
digits |
number of digits to display |
barColor |
bar color |
1 2 3 4 5 6 7 | library(rpart)
data(ptitanic, package = 'rpart.plot')
if (interactive()){
rpart(survived ~ ., data = ptitanic) %>%
fdPanelImportance %>%
fdPreview
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.