get_closeness {HospitalNetwork}R Documentation

Compute closeness

Description

Compute one or several closeness measure for facility networks.

Usage

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

closeness


[Package HospitalNetwork version 0.9.3 Index]