Plots either the traces of the coefficients, the penalty of the coefficient groups, or the penalty terms of the whole model obtained by lasso regression as functions of the penalty weight lambda.
1 2 3 4 
x 
object of class 'lassogrp' containing the results of fitting a model by lasso. 
type 
character string defining the type of results to be plotted:

col, lty 
colors and line types for the curves.
If

mar 
plot margins 
main 
main title of the plot 
cv 
results of cross validation (see 
se 
logical: Should the cross validation standard error band be plotted? 
ylim 
limits of the vertical plotting axis.
Defaults to the range of the values to be plotted except for the
values for lambda==0 (if these are contained in 
legend 
logical: should a legend be displayed? 
... 
further arguments passed to 
none
For model other than ordinary regression, the cross validation results are not yet treated in a sensible way.
Werner A. Stahel, ETH Zurich, stahel@stat.math.ethz.ch
1 2 3 4 5 
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.