plot-methods: plot methods for LarsPath object

plot-methodsR Documentation

plot methods for LarsPath object

Description

plot the path of the lars algorithm.

Usage

## 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


HDPenReg documentation built on March 31, 2023, 9:31 p.m.