findt1ab {cartools}R Documentation

The findt1ab returns the time tf1 and the location xf1 and speed uf1 of the following vehicle when the driver begins to decelerate.

Description

The findt1ab returns the time tf1 and the location xf1 and speed uf1 of the following vehicle when the driver begins to decelerate.

Usage

findt1ab(xl0, xf0, uf0, ul0, tseq, useq, t1, t2)

Arguments

xl0

lead vehicle location at time t0, a number

xf0

following vehicle location at time t0, a number

uf0

following vehicle speed at time t0, a number

ul0

lead vehicle speed at time t0, a number

tseq

time sequence of the lead vehicle l, a vector

useq

speed sequence of the lead vehicle l, a vector

t1

start time, a number

t2

end time, a number


[Package cartools version 0.1.0 Index]