Learn R Programming

mdatools (version 0.14.1)

as.matrix.plsres: as.matrix method for PLS results

Description

Returns a matrix with model performance statistics for PLS results

Usage

# S3 method for plsres
as.matrix(x, ncomp = NULL, ny = 1, ...)

Arguments

x

PLS results (object of class plsres)

ncomp

number of components to calculate the statistics for

ny

for which response variable calculate the statistics for

...

other arguments