Skip to content
Prev 322991 / 398503 Next

Lasso Regression error

On May 4, 2013, at 6:09 AM, Preetam Pal wrote:

            
I get a different error using package:lars version 1.1 but the problem is likely that same. You created an object named `matrix` which is not a matrix. You apparently expected `lars` to recognize your intent. It didn't.  (You also included your response variable in your set of predictors. `lars` will run this without error, but treats it like a tautology. ) Try offering the types of R objects that `lars` is documented to accept.