association_hclust | R Documentation |
An implementation of the network clustering method described by Lusseau (2007) and implemented in SOCPROG.
association_hclust(network, method = "average")
network |
A symmetric square matrix of association indices |
method |
The linkage method for hierarchical clustering |
This method works by transforming the association indices into distances (by subtracting them from 1), running hierarchical clustering as usual, and then calculating the modularity of the division at each split. This method is currently only designed to be used with association-like indices (which have a maximum of 1).
A named list containing the best modularity ("maximum_modularity"), the cophenetic clustering coefficient ("CCC"), the clustering tree ("tree"), a dataframe of cut heights and modularity ("cuts"), and merge information ("merge").
See hclust
for details on manipulating and plotting trees.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.