powered by
Profile a set of routes
profile_routes( routes, yvar = c("hours", "longitude"), ap_loc = make_airports(warn = FALSE), n_max = 2 )
A list of named list pairs of plots, which can be displayed using eg result[1].
result[1]
as generated by find_route
find_route
horizontal axis is hours or longitude
Airports and coordinates, by (silent) default from make_airports
make_airports
maximum number of routes to plot (default 2)
# not run --- # plot_list <- profile_routes(routes, n_max = 3) # plot_list # to display them all
Run the code above in your browser using DataLab