createFolds | R Documentation |
create folds for cross-fitting
createFolds(df, nf = 10)
df |
dataframe - used to compute nrows |
nf |
Number of folds |
list with indices for each fold in first element, and fold assignment vector in second element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.