Description Usage Arguments Details Value References
View source: R/utility_functions.R
createfolds
splits the data into k
groups. Taken
from the caret
package (see references for details)
1 | createfolds(y, k = 10, list = FALSE, returnTrain = FALSE)
|
y |
vector of response |
an |
integer for the number of folds. |
For numeric y, the sample is split into groups sections based on percentiles and sampling is done within these subgroups
A vector of CV fold ID's for each observation in y
http://topepo.github.io/caret/splitting.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.