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
______________________________________________
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