cv.binary problem
HI,I am analyzing a risk model for type 2 diabetes using a logistic regression. In the final model I have only 6 predictors. The regression gives correct output (fullmod is the fitted model). Now I? try to do cross validation using cv.binary. Any help in resolving this problem will be appreciated.
cv.binary(fullmod)
Error in sample.int(x, size, replace, prob) : invalid 'size' argument Regards,Amit