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

Internal function that computes the penalized PLS solutions with included block-wise variable selection.

1 | ```
penalized.pls.select(X, y, M, ncomp,blocks)
``` |

`X` |
matrix of centered and (possibly) scaled input data |

`y` |
vector of centered and (possibly) scaled response data |

`M` |
matrix that is a transformation of the penalty term P. Default is |

`ncomp` |
number of PLS components |

`blocks` |
vector of length |

This function assumes that the columns of `X`

and `y`

are centered and - optionally - scaled. The matrix `M`

is defined
as the inverse of *(I + P)* . The
computation of the regression coefficients is based on an extension of
the classical NIPALS algorithm for PLS. Moreover, in each iteration,
the weight vector is only defined by one block of variables. For more details, see Kraemer,
Boulesteix, and Tutz (2008).

`coefficients` |
Penalized PLS coefficients for all 1,2,...,ncomp components |

This is an internal function that is called by `penalized.pls`

.

Nicole Kraemer

N. Kraemer, A.-L. Boulsteix, and G. Tutz (2008). *Penalized Partial Least Squares with Applications
to B-Spline Transformations and Functional Data*. Chemometrics and Intelligent Laboratory Systems, 94, 60 - 69. http://dx.doi.org/10.1016/j.chemolab.2008.06.009

`penalized.pls`

, `ppls.splines.cv`

1 | ```
# this is an internal function
``` |

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.