View source: R/evaluation_functions.R
tree_to_labelmat.hclust | R Documentation |
Convert hclust tree to label matrix
## S3 method for class 'hclust' tree_to_labelmat(tree, Ks = NULL)
tree |
hclust object representing a dendrogram |
Ks |
number of clusters per layer |
a label matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.