View source: R/make_net_trip.R
Generates Trip/Route based Directed Network with an iGraph gDir object, a Data Frame netDir and a Data Frame with Airport/Nodes statistics nodes. Returns type of trip: OD = Origin/Destination pair, OT = Origin/Transfer pair, TT = Transfer/Transfer pair, TD = Transfer/Destination pair
make_net_trip(x, carrier = FALSE)
Groups data per carrier and OD
## Not run: make_net_trip(OD_Sample) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.