Description Usage Arguments Value
View source: R/plotFeatureImportance.R
Plot feature importance
1 2 3 4 5 6 7 8 |
final.model.imp |
If a vector is provided, red dashes will be added to the plot according to vector values. Used for overlaying the feature importance of the final model over feature importance as determined by cross-validation |
title |
User specified plot title. If unspecified, title defaults to 'Feature importance' |
sort |
Whether to sort the features by decreasing importance |
export.features |
If TRUE, only returns a vector containing the feature names |
df.importance |
A data.frame containing a column of feature names and a column of MeanDecreaseAccuracy values |
Returns a ggplot2 scatter plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.