Re: [R] glmnet error: no-comfortable arguments

2016-12-09 Thread David Winsemius
> On Dec 9, 2016, at 2:45 PM, Hu Xinghai wrote: > > I come across the following error training Logistic Regression model using > cv.glmnet: > >> Error in drop(y %*% rep(1, nc)) : error in evaluating the argument 'x' in >> selecting a method for function 'drop': Error in y %*% rep(1, nc) : >> no

[R] glmnet error: no-comfortable arguments

2016-12-09 Thread Hu Xinghai
I come across the following error training Logistic Regression model using cv.glmnet: > Error in drop(y %*% rep(1, nc)) : error in evaluating the argument 'x' in > selecting a method for function 'drop': Error in y %*% rep(1, nc) : > non-conformable arguments > error in evaluating the argument 'x'