Description Usage Arguments Value Examples
Based on a certain trip specified, this function will be able to calculate the breaks using the velocities of the trip that is based on interval of 4 seconds.
1 | MovingAverage(xv, n = 1, centered = FALSE)
|
xv |
xv |
n |
value=1 |
centered |
True or False |
It will return the breaks of the trip based on 4 second intervals.
1 2 | # Breaks of the trip (based on velocity4)
breaks(trip=sampleTrip)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.