as.matrix.classres: as.matrix method for classification results

View source: R/classres.R

as.matrix.classresR Documentation

as.matrix method for classification results

Description

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

Usage

## 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


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.