CVFolds: Generate list of row numbers for each fold in the...

Description Usage Arguments Value Author(s)

Description

Generate list of row numbers for each fold in the cross-validation

Usage

1
CVFolds(V, N.all, shuffle, id, stratifyCV, Y)

Arguments

V

number of folds

N.all

total sample size

shuffle

shuffle the row numbers before split

id

id variable

stratifyCV

should splits be stratified by the binary outcome

Y

outcome

Value

DATA.split

list of length V with each element being the row numbers corresponding to the observations in the corresponding validation set.

Author(s)

Eric C Polley ecpolley@berkeley.edu


ecpolley/SuperLearner_Old documentation built on May 15, 2019, 10:08 p.m.