View source: R/visualization.R
plotDendrogram | R Documentation |
Plot dendrogram to visualize the clustering obtained by the hierarchical clustering algorithm
plotDendrogram(res, labels = NULL, labcex = 0.5)
res |
output of graphClustering() |
labels |
network labels, default (NULL) network number. |
labcex |
size of labels in the figure |
dendrogram
theta <- list(pi=c(.5,.5), gamma=matrix((1:4)/8,2,2))
obs <- rCollectSBM(rep(10,4), theta)$listGraphs
res <- graphClustering(obs, nbCores=2)
plotDendrogram(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.