Description Usage Arguments Value Examples
Based on a certain trip specified, this function will be able to plot the breaks (Moving average over 4 second interval) occurred during the trip. The different colors show the different levels of breaks. Note that breaks is the same as acceleration
1 | PlotggBreaks(trip)
|
trip |
a dataframe with x and y columns representing the locations of the driver at each second of the trip |
It will return a qplot of the brakes over 4 seconds of the driver for that trip.
1 2 | # Breaks plot of a trip taken by a driver
PlotggBreaks(trip=sampleTrip)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.