Learn R Programming

skynet (version 1.4.3)

make_net_trip: Trip directed network

Description

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

Usage

make_net_trip(x, carrier = FALSE)

Arguments

x

Data frame

carrier

Groups data per carrier and OD

Examples

Run this code
# NOT RUN {
make_net_trip(OD_Sample)
# }

Run the code above in your browser using DataLab