getPLSscores {Morpho}R 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


[Package Morpho version 2.12 Index]