Learn R Programming

mdatools (version 0.9.1)

as.matrix.plsdares: as.matrix method for PLS-DA results

Description

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

Usage

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

Arguments

x

PLS-DA results (object of class plsdares)

ncomp

number of components to calculate the statistics for

nc

for which class to calculate the statistics for

...

other arguments