Generic summary function for classification results. Prints performance values for the
results.
# S3 method for classres
summary(object, ncomp = NULL, nc = NULL, ...)classification results (object of class plsdares, simcamres, etc.).
which number of components to make the plot for (can be one value for all classes or vector with separate values for each, if NULL - model selected number will be used).
if there are several classes, which class to make the plot for (NULL - summary for all classes).
other arguments