I'm having the exact problem outlined in a previous post from 2005 -
unfortunately the post was never answered:
http://tolstoy.newcastle.edu.au/R/help/05/10/15055.html
When running:
lm2=lars(x2,y,type=lasso,use.Gram=F)
I get an error:
Error in if (zmin gamhat) { : missing value where
This looks like a question for the package maintainer (as the posting
guide said), as was the one you referred to. Please bear in mind
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Anyone who is