
Centralize a graph according to the closeness of vertices
Source:R/centralization.R
centralization.closeness.Rd
centralization.closeness()
was renamed to centr_clo()
to create a more
consistent API.
Usage
centralization.closeness(
graph,
mode = c("out", "in", "all", "total"),
normalized = TRUE
)
Arguments
- graph
The input graph.
- mode
This is the same as the
mode
argument ofcloseness()
.- normalized
Logical scalar. Whether to normalize the graph level centrality score by dividing by the theoretical maximum.