Learn R Programming

cartools (version 0.1.0)

vehfix: vehfix fixes hsafe violation with speed ufix and location xfix and yfix vectors from brktrials2

Description

vehfix fixes hsafe violation with speed ufix and location xfix and yfix vectors from brktrials2

Usage

vehfix(veh, nveh, ufix, xfix, yfix, df)

Arguments

veh

vehicle, a number

nveh

number of vehicle in df, a number

ufix

speed, a vector

xfix

location, a vector

yfix

location, a vector

df

a data frame created in bk2trials, a data frame