Plots a varSelRF object, showing the initial variable importances, and
the change in OOB error with the number of variables.
Usage
## S3 method for class 'varSelRF'
plot(x, nvar = NULL, which = c(1, 2), ...)
Arguments
x
The varSelRF object.
nvar
The number of variables for which the initial variable
importances should be shown. By default, only the 30 with the
largest importance are shown.
which
which plots should be drawn, either 1 (for the initial
variable importance plot), 2 (for the change in OOB error with the
number of variables) or c(1,2) for drawing both plots
...
Not used.
Value
This function is only used for its side effect of producing plots.
Warning
The OOB Error rate is biased down (and can be
severely biased down) because we do (potentially many) rounds of
reducing the set of predictor variables until we minimize this OOB
error rate.