normalizeLabels | R Documentation |
Transforms numerical labels into normal order, that is the largest group will be labeled 1, next largest 2 etc. Label 0 is optionally preserved.
normalizeLabels(labels, keepZero = TRUE)
labels |
Numerical labels. |
keepZero |
If |
A vector of the same length as input, containing the normalized labels.
Peter Langfelder, Peter.Langfelder@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.