Cross-validation folds.
cv.folds(n, folds = 10)
n
number of observations.
folds
number of folds.
a list containing the observation numbers for each fold.