I am sorry for the slow response. Please note that these are better channels for igraph help: http://igraph.org/r/#help As for your question, can you please send some R code that demonstrates your problem? Gabor On Tue, May 19, 2015 at 1:50 AM, Aziz, Muhammad Fayez <aziz4 at illinois.edu> wrote:> 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