as.matrix.classres function

as.matrix method for classification results

as.matrix method for classification results

Generic as.matrix function for classification results. Returns matrix with performance values for specific class.

## S3 method for class 'classres' as.matrix(x, ncomp = NULL, nc = 1, ...)

Arguments

  • x: classification results (object of class plsdares, simcamres, etc.).
  • ncomp: model complexity (number of components) to show the parameters for.
  • nc: if there are several classes, which class to show the parameters for.
  • ...: other arguments
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19