Index of the samples grouped by batches.
Arguments
- size_data
A numeric value of the amount of samples to distribute.
- size_subset
A numeric value with the amount of samples per batch.
- n
A numeric value with the number of batches.
- name
A character used to name the subsets, either a single one or a vector the same size as
n.
See also
batch_names(), use_index() if you already
have a factor to be used as index.