View source: R/functions_utility.R
order_groupids | R Documentation |
[2 1 1 4 2]
becomes [1 2 2 3 1]
Function to replace the ids of the group without forgetting an id
and put in the first appearance order
for example: [2 1 1 4 2]
becomes [1 2 2 3 1]
order_groupids(partition)
partition |
observed partition |
a vector (partition)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.