Learn R Programming

cartools (version 0.1.0)

freeflowpass: The freeflowpass function estimates the relative locations of two vehicles where one passes the other.

Description

The freeflowpass function estimates the relative locations of two vehicles where one passes the other.

Usage

freeflowpass(tstart, tend, umn, usd, xstart, xfunnel, leff)

Arguments

tstart

start time, a number

tend

end time, a number

umn

start speed (mph) for vehicle in lane 1, a number

usd

speed volatility for umn, a number

xstart

start location for vehicle in lane 1 (feet), a number

xfunnel

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

leff

effective vehicle length(feet), a number

Value

freeflowpass uses a deterministic model to show the locations of vehicle accelerating to pass another vehicle traveling side-by-side at the same speed.

Examples

Run this code
# NOT RUN {
freeflowpass(0, 10, 41, 0, -1000, -500, 14)
# }

Run the code above in your browser using DataLab