split_indices | R Documentation |
An optimised version of split for the special case of splitting row indices into groups.
split_indices(group, n = 0L)
group |
Integer indices |
n |
The largest integer (may not appear in index).
This is hint: if the largest value of |
A list of vectors of indices.
split_indices(sample(10, 100, rep = TRUE))
split_indices(sample(10, 100, rep = TRUE), 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.