evcent
takes a graph (graph
) and returns the
eigenvector centralities of positions v
within itevcent(graph, v=igraph.vs.all(graph))
evcent
will not symmetrize your data before
extracting eigenvectors; don't send this routine asymmetric matrices
unless you really mean to do so.Katz, L. (1953). A New Status Index Derived from Sociometric Analysis. Psychometrika, 18, 39-43.
#Generate some test data
g <- graph.ring(10, directed=FALSE)
#Compute eigenvector centrality scores
evcent(g)
Run the code above in your browser using DataLab