I am interested in running Newman's modularity clustering algorithm on a large graph. If you can point me to a library (or R package, etc) that implements it I would be most grateful.
best ~lara
|
I am interested in running Newman's modularity clustering algorithm on a large graph. If you can point me to a library (or R package, etc) that implements it I would be most grateful. best ~lara |
|||||
|
|
The igraph library implements some algorithms for community structure based on Newman's optimization of modularity. You can consult the reference manual for details and citations. |
|||
|
|
|
Use the igraph package for R: http://igraph.sourceforge.net/doc/R/fastgreedy.community.html this implements a fast algorithm for community finding using the newman-girvan modularity maximization method. your code will look like this:
|
|||
|
|