plot methods for LarsPath object

Share:

Description

plot the path of the lars algorithm.

Usage

1
2
3
## S4 method for signature 'LarsPath'
plot(x, sep.line = FALSE, abscissa = c("l1norm",
  "lambda"), log.scale = FALSE, ...)

Arguments

x

LarsPath object

sep.line

If TRUE, print vertical dashed line when a variable is added or dropped in the path

abscissa

either "l1norm" or "lambda". If "lambda", regularization parameter is used as abscissa, else l1 norm of the solution is used.

log.scale

If TRUE, use logarithm scale on abscissa

...

Other plot arguments

See Also

HDlars LarsPath