powered by
Maximum shortest path distance from a node to any other node. For directed networks, centrality_ineccentricity and centrality_outeccentricity use incoming and outgoing paths.
centrality_ineccentricity
centrality_outeccentricity
centrality_eccentricity(x, mode = "all", ...)centrality_ineccentricity(x, ...)centrality_outeccentricity(x, ...)
centrality_ineccentricity(x, ...)
centrality_outeccentricity(x, ...)
Named numeric vector of eccentricity values.
Network input (matrix, igraph, network, cograph_network, tna object).
For directed networks: "all" (default), "in", or "out".
"all"
"in"
"out"
Additional arguments passed to centrality (e.g., normalized, weighted, directed).
centrality
normalized
weighted
directed
centrality for computing multiple measures at once.
adj <- matrix(c(0, 1, 0, 1, 0, 1, 0, 1, 0), 3, 3) rownames(adj) <- colnames(adj) <- c("A", "B", "C") centrality_eccentricity(adj)
Run the code above in your browser using DataLab