widekernelpls.fit(X, Y, ncomp, stripped = FALSE,
tol = .Machine$double.eps^0.5, maxit = 100, ...)NAs and Infs are not
allowed.NAs and Infs
are not allowed.TRUE the calculations are stripped
as much as possible for speed; this is meant for use with
cross-validation or simulations when only the coefficients are
needed. Defaults to FALSE.ncomp components. The dimensions of coefficients are
c(nvar, npred, ncomp) with nvar the number
of X variables and npred the number of variables to be
predicted in Y.fitted.values are c(nobj, npred, ncomp) with
nobj the number samples and npred the number of
Y variables.fitted.values.X.stripped is TRUE, only the components
coefficients, Xmeans and Ymeans are returned.plsr or mvr with the argument
method="widekernelpls". The wide kernel PLS algorithm is
efficient when the number of variables is (much) larger
than the number of observations. For very wide X, for instance
12x18000, it can be twice as fast as kernelpls.fit and
simpls.fit. For other matrices, however, it can be much
slower. The results are equal to the results of the NIPALS algorithm.mvr
plsr
cppls
pcr
kernelpls.fit
simpls.fit
oscorespls.fit