Description Usage Arguments Details Value Author(s) See Also
Takes in a list
of clusters and outputs a single vector with the
index from the cluster list.
1 | changeClusterFormat(clusterList)
|
clusterList |
A list of vectors, where each vector contains numbers. There should be no repeats in the numbers. |
Takes in a list of clusters, for example [2 3]
[1 5 4]
,
and converts it to a single vector where each element is the cluster
index. For the example above, it would produce [2 1 1 2 2]
.
A vector of cluster indices.
Andrew White
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.