Description Usage Arguments Value
Assigns rows of a data frame into folds for cross-validation.
| 1 | cv_folds(x, nfolds)
 | 
| x | a data.frame | 
| nfolds | number of folds | 
a vector with the fold assignment of each row
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.