[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] fastgreedy.community in igraph 0.6
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] fastgreedy.community in igraph 0.6 |
Date: |
Fri, 3 Jun 2011 09:07:44 -0400 |
fastgreedy.community returns the results in a different format, you
just need to do
memb <- membership(fc)
See its manual page for details.
Gabor
On Fri, Jun 3, 2011 at 4:49 AM, Sergio Jimenez <address@hidden> wrote:
> Hi,
> I have upgraded to igraph 0.6 an I have problems with
> community.to.membership function
>
> If I run:
>
> g <- simplify(as.undirected(ba.game(100, 3)))
> fc <- fastgreedy.community(g)
> memb <- community.to.membership(G, fc$merges,
> steps=which.max(fc$modularity)-1)
>
> R crashes an exits abnormaly.
> Maybe there is any trouble with indexation?
>
> Thanks again
>
> Sergio
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
--
Gabor Csardi <address@hidden> MTA KFKI RMKI