Create data split from label

assign.fold(label, num.folds, stratified, inseparable = NULL, meta = NULL,
  verbose = 1)

Value

vector with fold assignments