Description Usage Arguments Value Author(s)
Generate list of row numbers for each fold in the cross-validation
1 | CVFolds(V, N.all, shuffle, id, stratifyCV, Y)
|
V |
number of folds |
N.all |
total sample size |
shuffle |
shuffle the row numbers before split |
id |
id variable |
stratifyCV |
should splits be stratified by the binary outcome |
Y |
outcome |
DATA.split |
list of length V with each element being the row numbers corresponding to the observations in the corresponding validation set. |
Eric C Polley ecpolley@berkeley.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.