createFolds from caret package CREATE GENERIC AND TRANSFORM TO MATRICES???
1 | createFolds(y, k = 10, list = TRUE, returnTrain = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.