plot.ada {ada}R Documentation

Plots for Ada

Description

This function produces plots of the overall classification error at each boosting iteration for both the training and test sets. In addition, the function can produce plots of the measure of agreement (kappa) between the predicted classification and actual classification at each boosting iteration for both the training and test sets.

Usage

## S3 method for class 'ada':
plot(x, kappa = FALSE, test=FALSE,cols= rainbow(dim(x$model$errs)[2]+1),tflag=TRUE, ...)

Arguments

x the object created by ada.
kappa option for a plot of Kappa values at each iteration. kappa = TRUE produces a plot of Kappa values. Default = FALSE.
test option for a plot of testing error values at each iteration. test=TRUE produces a plot of test values. Default=FALSE.
cols colors used for lines to be plotted
tflag inicates whether to include the tilte in the plot or not
... additional layout command parameter (see layout).

Value

No value returned

See Also

ada


[Package ada version 2.0-1 Index]