fopls {resemble} | R Documentation |
Computes orthogonal socres partial least squares (opls) regressions with the NIPALS algorithm. It allows multiple response variables. In contrast to codeopls function, this one does not compute unnecessary data for local regressions. For internal use only!
fopls(X, Y, ncomp, scale, maxiter, tol)
X |
a |
Y |
a |
ncomp |
the number of pls components. |
scale |
logical indicating whether |
maxiter |
maximum number of iterations. |
tol |
limit for convergence of the algorithm in the nipals algorithm. |
a list containing the following elements:
coefficients
the matrix
of regression coefficients.
bo
a matrix
of one row containing the intercepts for each component.
transf
a list
conating two objects: Xcenter
and Xscale
.
Leonardo Ramirez-Lopez