| KFold | R Documentation | 
Generates a list of indices for K-Folds Cross-Validation.
KFold(target, nfolds = 10, stratified = FALSE, seed = 0)
target | 
 Samples to split in K folds.  | 
nfolds | 
 Number of folds.  | 
stratified | 
 whether to apply Stratified KFold.  | 
seed | 
 random seed to be used.  | 
a list of indices for K-Folds Cross-Validation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.