predict.plsda: PLS-DA predictions

Description Usage Arguments Details Value

View source: R/plsda.R

Description

Applies PLS-DA model to a new data set

Usage

1
2
## S3 method for class 'plsda'
predict(object, x, c.ref = NULL, ...)

Arguments

object

a PLS-DA model (object of class plsda)

x

a matrix with x values (predictors)

c.ref

a vector with reference class values (should be a factor)

...

other arguments

Details

See examples in help for plsda function.

Value

PLS-DA results (an object of class plsdares)


mdatools documentation built on July 7, 2018, 1 a.m.