Given an index return the name of the batches the samples are in
See also
create_subset()
, for the inverse look at
use_index()
.
Examples
index <- create_subset(100, 50, 2)
batch <- batch_names(index)
head(batch)
#> [1] "SubSet1" "SubSet1" "SubSet2" "SubSet1" "SubSet1" "SubSet1"