View source: R/makelabelmaatrix.R
makelabelmatrix | R Documentation |
Convert class indicator into a label maxtrix.
makelabelmatrix(clust)
clust |
An n-dimensional vector of class partition. |
Z |
A matrix of class indicator. |
cluster<-c(1,1,2,2,3,3)
label_maxtrix<-makelabelmatrix(cluster)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.