Dear Gabor,
Please find attached an Excel file with detailed information on a four node directed network to calculate its pairwise modularity matrix using igraph: mod.matrix(). I have tried multiple combinations to figure out how the formula works or is applied but failed to find consistency, specially for the pairs of arcs in opposing directions where the pairwise modularity is different (highlighted and color-coded). I gave membership(wtc) as input to mod.matrix() but not even sure if its used in the formula provided in the following R manual page: http://igraph.org/r/doc/modularity.html Advice with a solved example in the Excel sheet would be deeply appreciated. Thanks and regards, Fayez University of Illinois at Urbana Champaign, USA ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.