plotDendrogram {graphclust}R Documentation

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

Description

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

Usage

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

Value

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)

[Package graphclust version 1.3 Index]