Description Usage Arguments Details Value Note Author(s) References See Also

View source: R/orthlspls.fit.R

Fits orthogonalized LS-PLS models.

1 | ```
orthlspls.fit(Y, X, Z, ncomp)
``` |

`Y` |
matrix. Response matrix. |

`X` |
matrix. The first predictor matrix (typically a design matrix). |

`Z` |
list. List of predictor matrices. |

`ncomp` |
list. The number of components to fit from each matrix. |

`orthlspls.fit`

is not meant to be called by the user. It is
called by `lspls`

to do the actual fitting. See
`lspls`

for details about LS-PLS and `ncomp`

. Each
element of the list `Z`

should either be a matrix or a list of
matrices.

A list with components

`coefficients` |
matrix with the final prediction coefficients |

`predictors` |
matrix with variables and scores used in the final regression |

`orthCoefs` |
list of coefficient generating matrices, to be used when predicting new predictors. |

`models` |
list of fitted PLS models for the matrices |

`ncomp` |
list with the number of components used |

`scores` |
list of score matrices |

`loadings` |
list of loading matrices |

`residuals` |
matrix with fit residuals, one coloumn per response |

The interface (arguments and return values) is likely to change in a future version.

Bjørn-Helge Mevik

Jørgensen, K., Segtnan, V. H., Thyholt, K., Næs, T. (2004) A
Comparison of Methods for Analysing Regression Models with Both
Spectral and Designed Variables.
*Journal of Chemometrics*, **18**(10), 451–464.

Jørgensen, K., Mevik, B.-H., Næs, T. Combining Designed Experiments with Several Blocks of Spectroscopic Data. (Submitted)

Mevik, B.-H., Jørgensen, K., Måge, I., Næs, T. LS-PLS: Combining Categorical Design Variables with Blocks of Spectroscopic Measurements. (Submitted)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.