pls1c: Function to Fit Modified Helland Algorithm

Description Usage Arguments Value Author(s) References

Description

This function fits a partial least squares model based on the modified Helland algorithm. This is an internal function and is not intended to be called by the end user.

Usage

1
pls1c(X, y, dimension = min(dx[1] - 1, dx[2]))

Arguments

X

A numeric matrix assumed to have been centred so columns sum to zero.

y

A numeric vector assumed to sum to zero.

dimension

The number of PLS factors in the model, which must be less than or equal to the rank of X.

Value

An object of class pls, containing the following items:

fitted.values

The fitted values.

coefficients

The model coefficients.

dimension

The number of PLS factors in the model.

Author(s)

Mike Denham

References

http://www.sph.umich.edu/~ghoshd/COMPBIO/POPTSCORE


pdmclass documentation built on Nov. 17, 2017, 12:19 p.m.