Learn R Programming

hdrcde (version 3.1)

lane: Speed-Flow data for Californian Freeway

Description

These are two data sets collected in 1993 on two individual lanes (lane 2 and lane 3) of the 4-lane Californian freeway I-880. The data were collected by loop detectors, and the time units are 30 seconds per observation (see Petty et al., 1996, for details).

Usage

data(lane2)
data(lane3)

Arguments

Format

Two data frames (lane2 and lane3) each with 1318 observations on the following two variables:

flow

a numeric vector giving the traffic flow in vehicles per lane per hour.

speed

a numeric vector giving the speed in miles per hour.

Details

The data is examined in Einbeck and Tutz (2006), using a nonparametric approach to multi-valued regression based on conditional mean shift.

References

Einbeck, J., and Tutz, G. (2006). ``Modelling beyond regression functions: an application of multimodal regression to speed-flow data''. Journal of the Royal Statistical Society, Series C (Applied Statistics), 55, 461-475.

Examples

Run this code
# NOT RUN {
 plot(lane2$flow, lane2$speed)
# }

Run the code above in your browser using DataLab