MovingAverage: A function to calculate the breaks using velocities obtained...

Description Usage Arguments Value Examples

Description

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.

Usage

1
MovingAverage(xv, n = 1, centered = FALSE)

Arguments

xv

xv

n

value=1

centered

True or False

Value

It will return the breaks of the trip based on 4 second intervals.

Examples

1
2
# Breaks of the trip (based on velocity4)
 breaks(trip=sampleTrip)

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