createFolds.Rd
create folds for cross-fitting
createFolds(df, nf = 10)
dataframe - used to compute nrows
Number of folds
list with indices for each fold in first element, and fold assignment vector in second element