| centrality_katz | R Documentation |
Katz (1953) status index: C = (I - \alpha A^T)^{-1} \mathbf{1}.
Each node's score sums attenuated walks of every length back to it, with
attenuation \alpha applied per step. Rankings are identical to
Bonacich's alpha centrality with a uniform exogenous vector.
centrality_katz(x, katz_alpha = 0.1, ...)
x |
Network input (matrix, igraph, network, cograph_network, tna object). |
katz_alpha |
Attenuation factor. Must satisfy
|
... |
Additional arguments passed to |
Equivalence is verified bit-exact against centiserve::katzcent
(cograph mirrors centiserve's exact LAPACK call sequence) and at machine
epsilon against igraph::alpha_centrality(exo = 1) and
networkx.katz_centrality_numpy.
Named numeric vector of Katz centrality values.
Katz, L. (1953). A new status index derived from sociometric analysis. Psychometrika, 18(1), 39-43.
centrality, centrality_eigenvector,
centrality_pagerank.
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_katz(adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.