erboost object and
optionally plots various performance measureserboost.perf(object,
plot.it = TRUE,
oobag.curve = FALSE,
overlay = TRUE,
method)erboost.object created from an initial call to
erboost.plot.it=TRUE creates two plots. The first plot plots
object$train.error (in black) and object$valid.error (in red)
versus the iteration numethod="OOB" computes the out-of-bag
estimate and method="test" uses the test (or validation) dataset
to compute an out-of-sample estimate. erboost.perf returns the estimated optimal number of iterations. The method
of computation depends on the method argument.erboost, erboost.object