Doh! somehow I didn't see that one, thanks! gerard
2014-10-25 22:24 GMT+02:00 Gábor Csárdi <[email protected]>: > 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 <[email protected]> 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 > > [email protected] > > https://lists.nongnu.org/mailman/listinfo/igraph-help > > _______________________________________________ > 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
