Description Usage Arguments Value Note
This function plots variable imporatnce for cross-validated
rfe
variable selection classes or train
classes.
It uses the k cross-validations to compute the mean +/- sd error or
standard deviation metric.
1 2 |
model |
A rfe or train object. See |
metric |
the metric to be used. Note this needs to be the metric used
to calculate the |
tuningValue |
The tuning value which is depicted on the x axis. For rfe models default is "Variables", the number of variables. |
xlim |
the xlim for the plot |
ylim |
the ylim for the plot |
sderror |
If TRUE then standard error is calculated. If FALSE then standard deviations are used |
grid |
Print grid or not |
a trellis object
if rfe is used as model, then returnResamp = "all" must be set in rfe training
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.