Learn R Programming

Morpho (version 2.12)

getPLSscores: 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)

Value

returns a vector of pls-scores

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

See Also

pls2B, predictPLSfromScores,predictPLSfromData