split_index | R Documentation |
This function creates an integer vector that can be used as a factor for grouping with 'split()'.
split_index(n, m)
n |
Number of elements of the vector. |
m |
Number of groups (or partitions). |
An integer vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.