Calculate edges weight from IATA Code
Value
A numeric value with the sum of the weights (passengers) of the edges
leaving (orig = "from") or arriving at (orig = "to") airport y.
Examples
netDir <- make_net_dir(OD_Sample)
from_to_stats(netDir$gDir, "JFK", orig = "from")
#> [1] 78
from_to_stats(netDir$gDir, "JFK", orig = "to")
#> [1] 267
