predict.sNPLS: Predict for sNPLS models

View source: R/sNPLS_fit.R

predict.sNPLSR Documentation

Predict for sNPLS models

Description

Predict function for sNPLS models

Usage

## S3 method for class '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


David-Hervas/sNPLS documentation built on Feb. 1, 2024, 6:30 a.m.