Hi,

are the examples of community detection presented in
http://igraph.wikidot.com/community-detection-in-r
meant for unweighted graphs? How can they be modified to use edge
weights? Is it sufficient to add the
appropriate parameter, e.g.:

### label.propagation.community
memberships$`Label propagation` <- label.propagation.community(G, E(G)$weight)
### and calculate modularity
Q <- modularity (G, memberships$`Label propagation`,  E(G)$weight)

or did I overlook something?

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to