getPLSscores | R Documentation |
compute 2-Block PLS scores for new data from an existing pls2B
getPLSscores(pls, x, y)
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 |
returns a vector of pls-scores
either x or y must be missing
pls2B, predictPLSfromScores,predictPLSfromData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.