get_closeness function

Compute closeness

Compute closeness

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"

Returns

a data.table containing the closeness measure

See Also

closeness