igraph-help
[Top][All Lists]
Advanced

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

[igraph] Introduction and question about getting attributes of nodes wit


From: Peter Flom
Subject: [igraph] Introduction and question about getting attributes of nodes with high degree
Date: Tue, 3 Apr 2012 16:46:31 -0400

Hello

 

I just subscribed (and just downloaded igraph yesterday).  It’s been a while since I did network research, but I used to be into it and it’s coming back to me.

 

I have a large network of books (400,000 nodes, about 4 million edges). I was initially going to try to get some betweenness measures, but this may be an overnight job.

 

For now, I’d like to work with the degree.  I found the distribution of degree using both degree() and degree.distribution. The highest degree is 2770, which I found with max(degree(g)). There is one book with that degree. Now I’d like to find attributes of that book. But when I run

 

V(g)[degree(g)== 2700]$title

 

I get two books. In fact, if I run V(g)[degree(g) > 2700]$title, I get 57 titles. So, clearly, I am doing something wrong, but I don’t know what.


Thanks in advance

 

PS I am using R interface

 

Peter

 

Peter Flom

Peter Flom Consulting

http://www.statisticalanalysisconsulting.com/

http://www.IAmLearningDisabled.com

 


reply via email to

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