Learn R Programming

PLSbiplot1 (version 0.1)

PLS.binomial.GLM: Partial Least Squares-Generalized Linear Model (PLS-GLM) fitted for Binomial y

Description

Takes in a set of predictor variables and a set of response variables and gives the PLS-GLM parameters.

Usage

PLS.binomial.GLM(X, y, A, PLS_algorithm = NULL, eps = 1e-04, ...)

Arguments

X
A (NxP) predictor matrix
y
A (Nx1) Binomial-distributed response vector
A
The number of PLS components
PLS_algorithm
The mod.NIPALS algorithm
eps
Cut off value for convergence step
...
Other arguments. Currently ignored

Value

The PLS-GLM parameters of D=[X y]