igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Comparing Graphs with Different number of Communities and V


From: Tamas Nepusz
Subject: Re: [igraph] Comparing Graphs with Different number of Communities and Vertex
Date: Wed, 29 Jun 2016 18:42:24 +0200

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
<address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]