Learn R Programming

lars (version 0.9-4)

plot.lars: Plot method for lars objects

Description

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

Usage

plot.lars(x, xvar= c("norm", "df", "arc.length"), breaks = TRUE, plottype = c("coefficients", 
    "Cp"), omit.zeros = TRUE, eps = 1e-10, ...)

Arguments

Value

NULL

References

Efron, Hastie, Johnstone and Tibshirani (2003) "Least Angle Regression" (with discussion) Annals of Statistics; see also http://www-stat.stanford.edu/~hastie/Papers/LARS/LeastAngle_2002.ps

Examples

Run this code
data(diabetes)
attach(diabetes)
object <- lars(x,y)
plot(object)
detach(diabetes)

Run the code above in your browser using DataLab