[Top][All Lists]

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

Re: [igraph] multilevel.community

From: Tamas Nepusz
Subject: Re: [igraph] multilevel.community
Date: Fri, 15 Jul 2011 12:07:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10

Dear Joe,

There is a hidden (yet undocumented) member of the data structure returned
by multilevel.community called "memberships", which contains the membership
vectors for all the levels:

> library(igraph)
> g <- graph.famous("zachary")
> comm <- multilevel.community(g)
> comm$memberships

I don't know why it is not mentioned in the documentation of the R interface
-- hopefully Gabor can add it soon.

> 2. I also notice that only nodes that fall into a community are
> retained
Every node should fall into exactly one community at each level, so no nodes
should be lost.


reply via email to

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