Learn R Programming

cartools (version 0.1.0)

plotfollow3: plotfollow3 adds a new trajectory to an existing graph.

Description

plotfollow3 adds a new trajectory to an existing graph.

Usage

plotfollow3(cflist, vehicle, uf, kf, ub, leff, t4)

Arguments

cflist

contains information about the lead vehicle, a list

vehicle

a vehicle identifier, a number

uf

speed (mph) of the following vehicle at time t0, a number

kf

density (vehicles per mile, vpm) of the following vehicle at time t0, a number

ub

breakdown speed (mph) for this trajectory, a number

leff

effective vehicle length, a number.

t4

upper range of plot, a number