classify.plsda: PLS-DA classification

Description Usage Arguments Details Value

View source: R/plsda.R

Description

Converts PLS predictions of y values to predictions of classes

Usage

1
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 May 30, 2017, 7:37 a.m.