R/cv.folds.R

Defines functions cv.folds

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

Try the MRFA package in your browser

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

MRFA documentation built on Nov. 11, 2023, 1:06 a.m.