plotDendrogram function

Plot dendrogram to visualize the clustering obtained by the hierarchical clustering algorithm

Plot dendrogram to visualize the clustering obtained by the hierarchical clustering algorithm

plotDendrogram(res, labels = NULL, labcex = 0.5)

Arguments

  • res: output of graphClustering()
  • labels: network labels, default (NULL) network number.
  • labcex: size of labels in the figure

Returns

dendrogram

Examples

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)
  • Maintainer: Tabea Rebafka
  • License: GPL-2
  • Last published: 2023-06-07

Useful links