| foldset | R Documentation | 
background function to load
foldset(sizer, nfold, balance = NA)
| sizer | number of observations in dataset. | 
| nfold | number of outer folds needed. | 
| balance | Optional vector of a categorical covariate to stratify fold assignment | 
vector of fold IDs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.