Description Usage Arguments Note Author(s) See Also Examples
View source: R/plot.glmnetcr.R
This function takes a glmnetcr
object and visualizes the regularization path. The horizontal axis can be norm
, lambda
or step
. The vertical axis can be coefficients
, aic
or bic
.
1 2 3 4 |
x |
a |
xvar |
horizontal axis. |
type |
type of the plot, or the vertical axis. Default is "coefficients". |
omit.zero |
If |
breaks |
If |
mar |
margin relative to the current font size |
eps |
an effective zero |
main |
title of the plot |
... |
other options for the plot |
This function was adapted from the glmpath package by Park and Hastie for a glmnetcr
object.
Kellie J. Archer archer.43@osu.edu
See also glmnetcr
, predict.glmnetcr
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.