powered by
This function predictes the wanted value after k steps.
kStepsForward (Data, Link_id, direction, datetime, predict, steps)
The predicted value
A data frame with the historical data
A character with the id of the road needed
The direction of the road
The datetime wanted
The value to be predicted
The number of steps
Aikaterini Chatzopoulou, Kleanthis Koupidis, Charalampos Bratsas
This function returns the predicted value after k steps.
loadData
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