plot.varImp.train: Plotting variable importance measures

Description Usage Arguments Details Value Author(s)

Description

This function produces lattice plots of objects with class "varImp.train". More info will be forthcoming.

Usage

1
2
## S3 method for class 'varImp.train'
plot(x, top = dim(x$importance)[1],  ...)

Arguments

x

an object with class varImp.

top

a scalar numeric that specifies the number of variables to be displayed (in order of importance)

...

arguments to pass to the lattice plot function (dotplot and panel.needle)

Details

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.

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.

Value

a lattice plot object

Author(s)

Max Kuhn


caret documentation built on May 2, 2019, 5:47 p.m.