Question

I have a network loaded into an igraph object G that has 198 vertices and 214 edges. If I run:

eig<-evcent(G)$vector

The resulting eig is a vector with 2172 elements, rather than 198 elements. The documentation on the package claims it returns the "centralities of positions v." Any ideas on how to get the eigenvalue centralities for each vertex?

Was it helpful?

Solution

This answer was recently asked (and answered) on the mailing list.

Check out this thread "Eigenvector Centrality" thread. It looks like a recompile of the R/igraph library might be in order, but should be rather straight forward.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top