classify.plsda: PLS-DA classification

View source: R/plsda.R

classify.plsdaR Documentation

PLS-DA classification

Description

Converts PLS predictions of y values to predictions of classes

Usage

classify.plsda(model, y)

Arguments

model

a PLS-DA model (object of class plsda)

y

a matrix with predicted y values

Details

This is a service function for PLS-DA class, do not use it manually.

Value

Classification results (an object of class classres)


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