Learn R Programming

cartools (version 0.1.0)

lfmatrix: The function lfmatrix displays cflist, the lists L and Fw information for lead and following vehicles, respectively.

Description

The function lfmatrix displays cflist, the lists L and Fw information for lead and following vehicles, respectively.

Usage

lfmatrix(cflist, nveh)

Arguments

cflist

information produced from the run and trial functions, a list.

nveh

number of vehicles in the investigation or vehicle = 1, 2, ..., nveh, a number

Value

cflist returns two matrices consisting of speed u and location x data, which are in turn are used to estimate performance measures for the simulation.