[R] cv.binary problem

Amit Sengupta asengupta94404 at yahoo.com
Thu Jun 16 01:52:42 CEST 2016


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

	[[alternative HTML version deleted]]



More information about the R-help mailing list