Learn R Programming

HDPenReg (version 0.94.9)

plot-methods: plot methods for LarsPath object

Description

plot the path of the lars algorithm.

Usage

# S4 method for 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