Generic as.matrix function for classification results. Returns matrix with performance
values for specific class.
# S3 method for classres
as.matrix(x, ncomp = NULL, nc = 1, ...)classification results (object of class plsdares, simcamres, etc.).
model complexity (number of components) to show the parameters for.
if there are several classes, which class to show the parameters for.
other arguments