kStepsForward: k Steps Forward

kStepsForwardR Documentation

k Steps Forward

Description

This function predictes the wanted value after k steps.

Usage

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

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

Details

This function returns the predicted value after k steps.

Value

The predicted value

Author(s)

Aikaterini Chatzopoulou, Kleanthis Koupidis, Charalampos Bratsas

See Also

loadData

Examples

## Not run: 
kStepsForward (X163204843_1, "163204843", "1", "2017-01-27 14:00:00", "Mean_speed", 1)
## End(Not run)


okgreece/TrafficBDE documentation built on July 13, 2022, 1:15 p.m.