Learn R Programming

cartools (version 0.1.0)

plotlead: Produces a time-distance t-x trajectory for the lead vehicle, vehicle = 1.

Description

Produces a time-distance t-x trajectory for the lead vehicle, vehicle = 1.

Usage

plotlead(L, theta, leff, xlim, ylim)

Arguments

L,

a matrix

theta

a gbm model parameter, a number

leff

effective vehicle length (feet), a number

xlim

plot range, a vector

ylim

plot range, a vector