PlotggAcceleration: A function to plot the acceleration (Moving average over 10...

Description Usage Arguments Value Examples

Description

Based on a certain trip specified, this function will be able to plot the acceleration acceleration (Moving average over 10 second interval) of the trip. The different colors show the different levels of acceleration, to show whether the car is accelerating at a high level.

Usage

1

Arguments

trip

a dataframe with x and y columns representing the locations of the driver at each second of the trip

Value

It will return a qplot of the acceleration over 10 seconds of the driver for that trip.

Examples

1
2
# Acceleration plot of a trip taken by a driver
 PlotggAcceleration(trip=sampleTrip)

webscale/Telematics documentation built on May 4, 2019, 2:05 a.m.