plot-methods | R Documentation |
plot the path of the lars algorithm.
## S4 method for signature 'LarsPath'
plot(
x,
sep.line = FALSE,
abscissa = c("l1norm", "lambda"),
log.scale = FALSE,
...
)
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 |
HDlars
LarsPath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.