createFolds: Create cross validation folds.

Description Usage Arguments

Description

Create cross validation folds.

Usage

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

Arguments

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.


robertzk/statsUtils documentation built on July 26, 2019, 5:39 p.m.