|
| From: | Tamas Nepusz |
| Subject: | Re: [igraph] neighbors at distance 2 |
| Date: | Thu, 25 Nov 2010 09:31:35 +0000 |
> I know that I can retrieve all nodes not farther than 2 with neighborhood(); > is there a simple way to get rid the neighbors at distance 1? Create a bipartite.projection() of the graph to one of your sets in the bipartite graph, and calculate the direct neighbors on that. -- T.
| [Prev in Thread] | Current Thread | [Next in Thread] |