profile_routes: Profile a set of routes

View source: R/maps.R

profile_routesR Documentation

Profile a set of routes

Description

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


david6marsh/himach documentation built on Oct. 20, 2023, 6:43 p.m.