View source: R/create_cv_folds.R
| create_cv_folds | R Documentation | 
Creates a dummy variable that partitions the data into v equal sized groups for v-fold CV.
create_cv_folds(v, y, verbose = FALSE)
v | 
 number of folds  | 
y | 
 Outcome variable. If binary will be used for stratification.  | 
verbose | 
 If T will display extra output.  | 
Vector of fold assignments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.