I think the authors of lars could do a better job of
the 'Value' section of the help page. Nevertheless, most
of the list elements are pretty obvious if you
understand the LARS procedure. Your questions indicate
that you would benefit from studying the references
listed on the help page before att
Hi here is the code as example
lars is in package lars
> x<-matrix(rnorm(20*5,0,1),20,5)
> bs<-matrix(sample(seq(1:10),5),5,1)
> er<-rnorm(20,0,1)
> y<-x%*%bs+er
> lobj<-lars(x,y,type="lasso")
> names(lobj)
[1] "call" "type" "df" "lambda" "R2"
[6] "RSS""Cp
2 matches
Mail list logo