Create cross validation folds.
1 | createFolds(y, k = 10, list = TRUE, returnTrain = FALSE)
|
y |
vector. A vector of stuff. |
k |
integer. Number of folds. |
list |
logical. Whether or not to return a list. |
returnTrain |
logical. Whether or not to return the train data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.