Plotting variable importance measures
This function produces lattice and ggplot plots of objects with class "varImp.train". More info will be forthcoming.
# S3 method for varImp.train plot(x, top = dim(x$importance), ...)
# S3 method for varImp.train ggplot( data, mapping = NULL, top = dim(data$importance), ..., environment = NULL )
For models where there is only one importance value, such a regression
models, a "Pareto-type" plot is produced where the variables are ranked by
their importance and a needle-plot is used to show the top variables.
Horizontal bar charts are used for
When there is more than one importance value per predictor, the same plot is produced within conditioning panels for each class. The top predictors are sorted by their average importance.
a lattice plot object