classify.plsda {mdatools}R 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)


[Package mdatools version 0.14.1 Index]