Driver: R6 class for Driver

Description Usage Format Methods

Description

This is a R6 class for Driver which contains methods to obtain various plots and information about the driver.

Usage

1

Format

A R6Class generator object

Methods

ShowTrip(trip)

This method uses trip as an argument to return a plot of 4 features (X-Y coordinates, velocity, acceleration, breaks).

ShowCoordinates(trip)

This method uses trip as an argument to return a qplot of the X-Y coordinates taken by the driver of the trip.

ShowVelocity(trip)

This method uses trip as an argument to return a qplot of the velocity (Moving average over 10 second interval) for the trip.

ShowAcceleration(trip)

This method uses trip as an argument to return a qplot of the acceleration over 10 seconds of the driver for that trip.

ShowBreaks(trip)

This method uses trip as an argument to return a qplot of the breaks over 4 seconds of the driver for that trip.

ShowSpeedBreaks(trip)

This method uses trip as an argument to return a qplot of the Speed Limit Breakages on Freeway for Driver

ShowQuantiles(trip)

This method uses trip as an argument to return TRUE if everything was OK.

CreateDriverSignature(trainClassMultipler = 5, trees = 100, shrinkage = .01)

This method returns a model for creating a driver unique signature.


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