pls.getydecomp {mdatools} | R Documentation |
Compute object with decomposition of y-values
pls.getydecomp( y, yscores, xscores, yloadings, yeigenvals, ynames = NULL, y.attrs = NULL, x.attrs = NULL, objnames = NULL, compnames = NULL )
y |
matrix with responses, already preprocessed (e.g. mean centered) and cleaned |
yscores |
matrix with Y-scores |
xscores |
matrix with X-scores |
yloadings |
matrix with Y-loadings |
yeigenvals |
matrix with eigenvalues for Y |
ynames |
vector with names of the responses |
y.attrs |
list with response attributes (e.g. from reference values if any) |
x.attrs |
list with preditors attributes |
objnames |
vector with names of objects (rows of x) |
compnames |
vector with names used for components |
array 'ldecomp' object for y-values (or NULL if y is not provided)