Message-ID: <257648654.3983753.1466034762036.JavaMail.yahoo@mail.yahoo.com>
Date: 2016-06-15T23:52:42Z
From: Amit Sengupta
Subject: 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
[[alternative HTML version deleted]]