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.

1 |

`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 |

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. |

Mike Denham

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.