Description Usage Arguments Value Examples

Get optimal cross validated gamma values by various rules

1 | ```
GetGammaCV(ErrMat, rule = 1, gamma.seq)
``` |

`ErrMat` |
Matrix of cross validated errors outputted by |

`rule` |
A number indicating how optimal gamma should be chosen. 1 for minimum cv error, 2 for 1 standard error rule |

`gamma.seq` |
sequence of regularization parameters used for cross validation. |

A scalar. Optimal gamma selected by CV rule.

1 |

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.