powered by
Create starting and stopping indices for subsets defined by subset_sizes.
subset_sizes
index_groups(n, k)
A matrix with starting index, size, and stopping index for each subset.
The size of the set.
The number of subsets.
Other subsetting functions: subset_sizes()
subset_sizes()
index_groups(n = 100, k = 6) index_groups(n = 2, k = 6)
Run the code above in your browser using DataLab