Skip to content

cv.binary problem

1 message · Amit Sengupta

#
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.
Error in sample.int(x, size, replace, prob) : invalid 'size' argument
Regards,Amit