Hi,
I'm new with igraph (and R). I've created a graph with g15 <- 
graph_from_data_frame(SERs, directed = T, vertices = attr). "SERs" is a 
weighted graph (the third column is called weigth). "Attr" contains a vertex 
attribute M which identifies to which community or module a vertex belongs.
How can I get the modularity of this clustering?
I tried unsuccessfully: modularity(g15, g15$M, weights = g15$weight,  ) .
Any help?
Thanks
Per

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

Reply via email to