Description Usage Arguments Value
Permute the estimated labels to be consistent with the reference labels.
1 | getPermute(est.label, true.label)
|
est.label |
a vector of estimated clusters, containing 1, ..., K |
true.label |
a vector of reference/true labels |
A vector of length K, i.permute, such that the i-th reference cluster maps to i.permute[i] in estimated clusters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.