Hello, compare.communities() assumes that the vertex set of the two graphs whose communities are being compared are equal (so either you have two community structures on the same graph, or two community structures on two different graphs where the vertex sets are equal).
T. On Wed, Jun 29, 2016 at 2:35 AM, Lucas Venezian Povoa <[email protected]> wrote: > Hello Guys, > > I am trying to compare two different graphs, with different sizes (number of > vertex and edges) and different number of communities (calculated using fast > greedy algorithm). I am trying to use the compare function, but I am > receiving the following error: > > Error in .Call("R_igraph_compare_communities", comm1, comm2, method, PACKAGE > = "igraph") : > > At community.c:3074 : community membership vectors have different lengths, > Invalid value > > > I need to compare these graphs, which are posted here. Do you know another > way to do that? I have tried to trunk a graph but it is not working. > > Thank you for your attention. > > Lucas Venezian Povoa > > _______________________________________________ > 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
