scores | R Documentation |
This function extracts score matrices from an O2PLS fit
scores(x, ...)
## S3 method for class 'o2m'
scores(
x,
which_part = c("Xjoint", "Yjoint", "Xorth", "Yorth"),
subset = 0,
...
)
x |
Object of class |
... |
For consistency |
which_part |
character string. One of the following: 'Xjoint', 'Yjoint', 'Xorth' or 'Yorth'. |
subset |
subset of scores vectors to be extracted. |
Scores matrix
loadings
scores(o2m(scale(-2:2),scale(-2:2*4),1,0,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.