plot.lb: Plot method for lb objects

Description Usage Arguments Details Author(s)

Description

Produce a plot of an LB fit. The default is a complete coefficient path.

Usage

1
2
3
## S3 method for class 'lb'
plot(x, xtype = c("t", "norm"), omit.zeros = TRUE,
  eps = 1e-10, ...)

Arguments

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 TRUE) avoids plotting these zero coefficents

eps

Definition of zero above, default is 1e-10

...

Additonal arguments for generic plot. Can be used to set xlims, change colors, line widths, etc

Details

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

Author(s)

Feng Ruan, Jiechao Xiong and Yuan Yao



Search within the Libra package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? 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.