cvobs gives the index of observations in each test set. This function is not intended to be used directly.
cvobs(n,ntest,ntrain,Kfold,type=
c("random", "timeseries", "consecutive", "interleaved"), npermut, seed)NULL.random,timeseries,consecutive, interleaved
and give the type of segments.type="random".set.seed).Cornillon, P.-A.; Hengartner, N. and Matzner-Lober, E. (2013) Recursive bias estimation for multivariate regression smoothers Recursive bias estimation for multivariate regression smoothers. ESAIM: Probability and Statistics, 18, 483-502.
ibr