opls_get_all: orthogonal scores algorithn of partial leat squares...

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

Computes orthogonal socres partial least squares (opls_get_all) regressions with the NIPALS algorithm. It retrives a comprehensive set of pls outputs (e.g. vip and sensivity radius). It allows multiple response variables. NOTE: For internal use only!

Usage

1
2
3
4
5
6
opls_get_all(X, 
             Y, 
             ncomp, 
             scale, 
             maxiter, 
             tol)

Arguments

X

a matrix of predictor variables.

Y

a matrix of either a single or multiple response variables.

ncomp

the number of pls components.

scale

logical indicating whether X must be scaled.

maxiter

maximum number of iterations.

tol

limit for convergence of the algorithm in the nipals algorithm.

Value

a list containing the following elements:

Author(s)

Leonardo Ramirez-Lopez


resemble documentation built on Nov. 9, 2020, 5:08 p.m.