Compute one or several closeness measure for facility networks.

get_closeness(graph, modes = "total")

Arguments

graph

an igraph object

modes

option passed on to igraph::closeness : "out", "in", "all", "total"

Value

a data.table containing the closeness measure

See also