vehtfix {cartools}R Documentation

vehtfix fixes hsafe violations for vehicle veh.

Description

vehtfix fixes hsafe violations for vehicle veh.

Usage

vehtfix(veh, nveh, df, tstart, tend, step, ufix, xfix)

Arguments

veh

vehicle, a number

nveh

number of vehicle in df, a number

df

a data frame created inbk2trials, a data frame

tstart

time, a number

tend

time, a number

step

size in seconds, a number

ufix

new speeds, a vector

xfix

new locations, a vector


[Package cartools version 0.1.0 Index]