
Calculate edges weight from IATA Code
from_to_stats(x, y, orig)
igraph object to query
origin airport IATA code
"from" or "to" options
# NOT RUN {
netDir <- make.netDir(OD_Sample)
from_to_stats(netDir$gDir, "JFK", orig = "from")
from_to_stats(netDir$gDir, "JFK", orig = "to")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab