[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] neighbors at distance 2
From: |
Simone Gabbriellini |
Subject: |
[igraph] neighbors at distance 2 |
Date: |
Thu, 25 Nov 2010 01:43:54 +0100 |
Dear list,
I would like to find the neighbors at distance 2 only...
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?
thanks,
simone
Il giorno 24/nov/2010, alle ore 19.34, Tamas Nepusz ha scritto:
>> I am wondering how to extract the average degree of neighbors for all the
>> nodes in my network.
>> [...]
>> I am trying with the neighbors() function, but I cannot understand how to
>> extract neighbors. My aim is to plot the degree of a node vs. the average
>> degree of its neighbors, which should be a visual way to show assortativity,
>> if I get it correctly.
> Have you checked the graph.knn() function in the R interface? It seems to do
> exactly what you would like to do.
>
> --
> Tamas
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
- [igraph] correlation between degree of a node and average degree of its neighbors, Simone Gabbriellini, 2010/11/24
- Re: [igraph] correlation between degree of a node and average degree of its neighbors, Tamas Nepusz, 2010/11/24
- Re: [igraph] correlation between degree of a node and average degree of its neighbors, Simone Gabbriellini, 2010/11/24
- Re: [igraph] correlation between degree of a node and average degree of its neighbors, Tamas Nepusz, 2010/11/25
- Re: [igraph] correlation between degree of a node and average degree of its neighbors, Simone Gabbriellini, 2010/11/25
- Re: [igraph] correlation between degree of a node and average degree of its neighbors, jordi torrents, 2010/11/25
- Re: [igraph] correlation between degree of a node and average degree of its neighbors, Simone Gabbriellini, 2010/11/25
- Re: [igraph] correlation between degree of a node and average degree of its neighbors, jordi torrents, 2010/11/25
- [igraph] neighbors at distance 2,
Simone Gabbriellini <=