getPLSscores: compute 2-Block PLS scores for new data

View source: R/pls2B.r

getPLSscoresR Documentation

compute 2-Block PLS scores for new data

Description

compute 2-Block PLS scores for new data from an existing pls2B

Usage

getPLSscores(pls, x, y)

Arguments

pls

output of pls2B

x

matrix or vector representing new dataset(s) - same kind as in original pls2B

y

matrix or vector representing new dataset(s) - same kind as in original pls2B

Value

returns a vector of pls-scores

Note

either x or y must be missing

See Also

pls2B, predictPLSfromScores,predictPLSfromData


Morpho documentation built on June 22, 2024, 7:19 p.m.