fun_diagram: Fit the fundamental diagram to observations

Description Usage Arguments Value

Description

The fundamental diagram in traffic engineering represents flow as a function of density.

Usage

1
fun_diagram(flow, density, method = "ls", cutoff = 0.15)

Arguments

flow

Count of passed vehicles

density

Traffic density between 0 and 1

method

Method for curve fitting. Available options: "ls" for least squares.

cutoff

Point separating high and low density

Value

fd Object of class fd.


clarkfitzg/traffic documentation built on May 13, 2019, 7:35 p.m.