View source: R/utils_partition.R
index_group | R Documentation |
Create group index by partitioning a vector.
index_group(x, k = NULL, length = NULL, method)
x |
vector to index |
k |
number of group, integer |
length |
length of each group |
method |
discretization method.
|
a vector of indices of the same length as x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.