Description Usage Arguments Examples
View source: R/variable_importance_plotting.R
Given a named vector of variable importance measures, this function makes a barplot of the relative importances. The importances are scaled to sum to 1. An appropriate input is one column of the output from varImpY() or varImpCoeff().
1 |
importance_vector |
a named vector where the names are the variables and the vector stores the importances. |
... |
additional arguments to plot, such as "main", "cex", etc. |
1 2 | imp <- varImpCoeff(forest)[,3]
plotImp(imp, main="Standardized Variable Importance")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.