Skip to contents

Profile a set of routes

Usage

profile_routes(
  routes,
  yvar = c("hours", "longitude"),
  ap_loc = make_airports(warn = FALSE),
  n_max = 2
)

Arguments

routes

as generated by find_route

yvar

horizontal axis is hours or longitude

ap_loc

Airports and coordinates, by (silent) default from make_airports

n_max

maximum number of routes to plot (default 2)

Value

A list of named list pairs of plots, which can be displayed using eg result[1].

Examples

# not run ---
# plot_list <- profile_routes(routes, n_max = 3)
# plot_list # to display them all