## S3 method for class 'varImp.train':
plot(x, top = dim(x$importance)[1], ...)## S3 method for class 'varImp.train':
ggplot(data, mapping = NULL, top = dim(data$importance)[1], ..., environment = NULL)
varImp
.dotplot
and panel.needle
)ggplot
. 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.