Plot the error rates or MSE of a RRF object
# S3 method for RRF
plot(x, type="l", main=deparse(substitute(x)), ...)
an object of class RRF
.
type of plot.
main title of the plot.
other graphical parameters.
Invisibly, the error rates or MSE of the RRF
object.
If the object has a non-null test
component, then the returned
object is a matrix where the first column is the out-of-bag estimate
of error, and the second column is for the test set.
# NOT RUN { data(mtcars) plot(RRF(mpg ~ ., mtcars, keep.forest=FALSE, ntree=100), log="y") # }