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

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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