Description Usage Arguments Value Examples
Based on a certain trip specified, this function will be able to calculate the Vector Distance for the trip from start to end.
1 | StartToEnd(trip)
|
trip |
a dataframe with x and y columns representing the locations of the driver at each second of the trip |
It will return the travel distance in meters.
1 2 | # Vector Distance of a certain trip
StartToEnd(trip=sampleTrip)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.