This function assumes that elevations and distances are in the same units.
See also
Other route_funs:
route_rolling_average()
,
route_rolling_diff()
,
route_rolling_gradient()
,
route_sequential_dist()
,
route_slope_matrix()
,
route_slope_vector()