igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] hierarchical structure in multilevel.community


From: gerard roma
Subject: Re: [igraph] hierarchical structure in multilevel.community
Date: Sun, 26 Oct 2014 08:30:41 +0100

Doh! somehow I didn't see that one, thanks!

gerard

2014-10-25 22:24 GMT+02:00 Gábor Csárdi <address@hidden>:
I don't know why it is missing, I guess I just forgot.
https://github.com/igraph/igraph/issues/755

Gabor

On Sat, Oct 25, 2014 at 4:17 PM, Tamas Nepusz <address@hidden> wrote:
> Hi,
>
>> Hi all. In R, multilevel.community returns a communities object with no
>> defined hierarchy. Does anyone know whether it is possible to get the full
>> multilevel hierarchy? This is available in the original C program [1]
>
> It seems to me that the communities object that multilevel.community returns
> has a "$memberships" member, which is a matrix where each row corresponds to
> the community membership at a different "level". I'm not sure why this is not
> documented, maybe Gabor hasn't implemented a nicer high-level accessor function
> yet and that's why it's not in the documentation. Anyway, the bottom line is
> that you can try this:
>
> cl <- multilevel.community(g)
> cl$memberships
>
> --
> T.
>
> _______________________________________________
> 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


reply via email to

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