from_to_stats {skynet} | R Documentation |
From To function
Description
Calculate edges weight from IATA Code
Usage
from_to_stats(x, y, orig)
Arguments
x |
igraph object to query |
y |
origin airport IATA code |
orig |
"from" or "to" options |
Examples
## Not run:
netDir <- make.netDir(OD_Sample)
from_to_stats(netDir$gDir, "JFK", orig = "from")
from_to_stats(netDir$gDir, "JFK", orig = "to")
## End(Not run)
[Package skynet version 1.4.3 Index]