powered by
Energy drop from the graph Laplacian when a node is removed (Qi et al. 2012). Measures a node's importance to the overall network energy.
centrality_laplacian(x, ...)
Named numeric vector of Laplacian centrality values.
Network input (matrix, igraph, network, cograph_network, tna object).
Additional arguments passed to centrality (e.g., weighted, directed).
centrality
weighted
directed
centrality for computing multiple measures at once.
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3) rownames(adj) <- colnames(adj) <- c("A", "B", "C") centrality_laplacian(adj)
Run the code above in your browser using DataLab