Learn R Programming

TrafficBDE (version 0.1.2)

kStepsForward: k Steps Forward

Description

This function predictes the wanted value after k steps.

Usage

kStepsForward (Data, Link_id, direction, datetime, predict, steps)

Value

The predicted value

Arguments

Data

A data frame with the historical data

Link_id

A character with the id of the road needed

direction

The direction of the road

datetime

The datetime wanted

predict

The value to be predicted

steps

The number of steps

Author

Aikaterini Chatzopoulou, Kleanthis Koupidis, Charalampos Bratsas

Details

This function returns the predicted value after k steps.

See Also

loadData

Examples

Run this code
if (FALSE) {
kStepsForward (X163204843_1, "163204843", "1", "2017-01-27 14:00:00", "Mean_speed", 1)}

Run the code above in your browser using DataLab