Mike:
On Sat, May 25, 2013 at 7:24 PM, C W wrote:
> Thomas, thanks for the cool trick. I always thought browser() was the
> only thing existed, apparently not.
Which you would have known had you read the docs!
See section 9 on Debugging in the R Language Definition Manual
-- Bert
>
> Mike
>
Thomas, thanks for the cool trick. I always thought browser() was the
only thing existed, apparently not.
Mike
On Sat, May 25, 2013 at 9:09 PM, Thomas Stewart
wrote:
> Mike-
>
> You can use the traceback function to see where the error is:
>
>> bob <- matrix(rnorm(100*180), nrow=180)
>> yyy <
Mike-
You can use the traceback function to see where the error is:
> 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
> traceback()
6: predict.multnet(object, newx, s
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
4 matches
Mail list logo