R/cv.folds.R

cv.folds <- function (n, folds = 10) 
{
    split(sample(1:n), rep(1:folds, length = n))
}

Try the TULIP package in your browser

Any scripts or data that you put into this service are public.

TULIP documentation built on Jan. 13, 2021, 3:14 p.m.