Learn R Programming

cartools (version 0.1.0)

plotupstream: plotupstream produces t-x trajectories for lead and following vehicles at a bottleneck

Description

plotupstream produces t-x trajectories for lead and following vehicles at a bottleneck

Usage

plotupstream(pick, lane, nveh, df, xfunnel, leff, type)

Arguments

pick

a lane number

lane,

a vector

nveh,

a number

df

a data frame from brktrials2

xfunnel

upstream location where the lane drop starts (feet), a number

leff

effective vehicle length(feet), a number

type

2 to create a plot, a number

Value

plotupstream returns t-x trajectories of nveh vehicles at a bottleneck. Wrapper for vehdf, nopass and vehfix