as.matrix.plsdares function

as.matrix method for PLS-DA results

as.matrix method for PLS-DA results

Returns a matrix with model performance statistics for PLS-DA results

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

Arguments

  • x: PLS-DA results (object of class plsdares)
  • ncomp: number of components to calculate the statistics for (if NULL gets for all components)
  • nc: for which class to calculate the statistics for
  • ...: other arguments
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19