One more question Tamas, and then I'll be out of your hair, .es[] is included in which package?
Thanks, On Fri, Feb 21, 2014 at 11:34 AM, Tamás Nepusz <[email protected]> wrote: > > I am trying to use modularity(), but i don't know how to create a weight > list for the WEIGHT parameter. How can you do this? > > If the edges of your graph already have a "weight" edge attribute, just > use that: > > q = g.modularity(membership, weights=g.es["weight"]) > > Otherwise, construct a list where item i is the weight of edge i and use > that. > > T. > > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
