label_splits | R Documentation |
Convert a vector of partition indices into meta cluster labels
label_splits(split_vector, nrow)
split_vector |
A vector of partition indices. |
nrow |
The number of rows in the data being partitioned. |
A character vector that expands the split_vector into an nrow-length sequence of ascending letters of the alphabet. If the split vector is c(3, 6) and the number of rows is 8, the result will be a vector of two "A"s (up to the first index, 3), three "B"s (up to the second index, 6), and three "C"s (up to and including the last index, 8).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.