Dear list,
I am using glmnet.  I have no idea what this error is telling me.
Here's my code,

> bob <- matrix(rnorm(100*180), nrow=180)
> yyy <- rnorm(180)
> fit1 <- cv.glmnet(bob, yyy, family="mgaussian")
Error in rep("(Intercept)", nrow(a0)) : invalid 'times' argument

In fact, I peeked inside cv.glmnet() using,
> glmnet:cv.glmnet

Can't even find the error message in the code.  I am clueless at the moment.
Thanks in advance,
Mike

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to