plot.lb | R Documentation |
Produce a plot of an LB fit. The default is a complete coefficient path.
## S3 method for class 'lb' plot(x, xtype = c("t", "norm"), omit.zeros = TRUE, eps = 1e-10, ...)
x |
lb object |
xtype |
The x-axis type. "t" or "norm". Default is "t". |
omit.zeros |
When the number of variables is much greater than
the number of observations, many coefficients will never be nonzero;
this logical (default |
eps |
Definition of zero above, default is |
... |
Additonal arguments for generic plot. Can be used to set xlims, change colors, line widths, etc |
The default plot uses the fraction of L1 norm as the x. For multinomial case, the sum of absolute values of different class's coefficients are caculated to represent each variable. The intercept term is not ploted
Feng Ruan, Jiechao Xiong and Yuan Yao
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.