[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [igraph] correlation between degree of a node and average degree of

**From**: |
Tamas Nepusz |

**Subject**: |
Re: [igraph] correlation between degree of a node and average degree of its neighbors |

**Date**: |
Wed, 24 Nov 2010 18:34:59 +0000 |

>* 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] 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* **<=**
**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*, `2010/11/24`