best_travel_deprecated: The best travel function - deprecated

Description Usage Arguments Value Examples

Description

This function calculates the travel index with the minimum length: 0 if the current travel has the minimum length; -1 if the previous travel has the minimum length; 1 if the next travel has the minimum length;

Usage

1
best_travel_deprecated(prev_travel, curr_travel, later_travel)

Arguments

prev_travel

length of the previous travel in minutes

curr_travel

length of the main travel in minutes

later_travel

length of the next travel in minutes

Value

-1 or 0 or 1

Examples

1
2
3

analytics-ufcg/bestBus documentation built on May 12, 2019, 2:38 a.m.