Perform a penalized regression, as used in penalized discriminant analysis.

1 |

`x, y, weights` |
the x and y matrix and possibly a weight vector. |

`lambda` |
the shrinkage penalty coefficient. |

`omega` |
a penalty object; omega is the eigendecomposition of the penalty matrix, and need not have full rank. By default, standard ridge is used. |

`df` |
an alternative way to prescribe lambda, using the notion of equivalent degrees of freedom. |

`...` |
currently not used. |

A generalized ridge regression, where the coefficients are penalized
according to omega. See the function definition for further details.
No functions are provided for producing one dimensional penalty
objects (omega).
`laplacian()`

creates a two-dimensional penalty
object, suitable for (small) images.

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.

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.