Description Usage Arguments Value Examples
Takes a clustering G and constructs B(G).
1 | gforce.clust2mat(clusters)
|
clusters |
length d vector. Assigns each variable or data point to a cluster. Cluster names can be numbers or strings. |
a d x d numeric array that contains the partnership matrix corresponding to clusters
.
1 2 | clusters <- c(1,1,1,2,2,2,3,3)
B_clust <- gforce.clust2mat(clusters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.