I am new to using igraph and R and want to do the following :
1) Calculate the path length distribution. I could find the average path length using the straight forward function from the library but how to do it for every pair of vertices so i get the path length distribution ?
2) I want to find out all nodes who have higher degree than their neighbors. I tried combining the E() function with degree() but its not working.
Thanks