[R] cv.binary

Chris Mcowen chrismcowen at gmail.com
Fri Sep 24 13:04:58 CEST 2010


Dear List,

I am looking to perform a cross validation on my glm using the cv.binary function in DAAG.

However i am getting the following error - 

> > cv.binary(modelhe)
> Error in sample(nfolds, m, replace = TRUE) : invalid 'size' argument

Any help would be greatly appreciated.

Chris


More information about the R-help mailing list