Description Usage Arguments Value Examples
eigenvect
calculates the Eigenvector Centrality of the Graph;
a node with high eigenvector centrality is more closely
connected to other central nodes
1 | eigenvect(A.mat, weight = F)
|
A.mat |
An n x n adjacency matrix. |
weight |
A boolean indicating if edges are regarded as weighted; default is FALSE |
Returns a length-n vector c.eig.std
of
standardized eigenvector centrality scores
1 2 3 4 5 | A.mat.unw = sim_adjacency(10) # edges unweighted
eigenvect(A.mat.unw)
A.mat.w = sim_adjacency(10, weight = c(1, 10))
eigenvect(A.mat.w, weight = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.