Learn R Programming

sNPLS (version 1.0.27)

predict.sNPLS: Predict for sNPLS models

Description

Predict function for sNPLS models

Usage

# S3 method for sNPLS
predict(object, newX, rescale = TRUE, ...)

Arguments

object

A sNPLS model fit

newX

A three-way array containing the new data

rescale

Should the prediction be rescaled to the original scale?

...

Further arguments passed to predict

Value

A matrix with the predictions