Transform numerical labels into normal order.
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.