a list with computed weights, x- and y-loadings for PLS regression model.
Arguments
X
a matrix with x values (predictors)
Y
a matrix with y values (responses)
ncomp
number of components to calculate
References
[1]. S. de Jong. SIMPLS: An Alternative approach to partial least squares regression.
Chemometrics and Intelligent Laboratory Systems, 18, 1993 (251-263).