Learn R Programming

superml (version 0.5.7)

createFolds: Internal function

Description

Taken from caret package, used to create folds

Usage

createFolds(y, k = 10, list = TRUE, returnTrain = FALSE)

Value

null

Arguments

y

target variable

k

number of folds