Learn R Programming

MUCflights (version 0.0-3)

routes: function to calculate routes for airplanes

Description

routes is used for calculation the position matrix and routes for airplanes.

Usage

routes(flights.info, start.IATA = "MUC")

Arguments

flights.info
data frame containing flight data
start.IATA
select the base airport

Value

position matrix

Examples

Run this code
flight.info <- flights(from = "2011-01-07", to = "2011-01-08")
routes.data <- routes(flight.info)

Run the code above in your browser using DataLab