predict_traveltimeCLT: This function allows to predict the travel time estimation on...

Description Usage Arguments Examples

View source: R/Predict.R

Description

This function allows to predict the travel time estimation on the test set.

Usage

1
2
3
4
5
6
predict_traveltimeCLT(
  traveltimeCLT_obj = NULL,
  data.test = NULL,
  bin = NULL,
  rules = NULL
)

Arguments

bin

Allows to select a specific timebin from the dataset.

rules

Need to represent a list containing, start, end, days and tag for each timebin of the dataset (see example).

Examples

1
predict.traveltimeCLT(traveltimeCLT_obj = ttCLTmodel, data.test = test, bin = "MR" , rules = list(list(start='6:30', end= '9:00', days = 0:6, tag='MR'),list(start='15:00', end= '18:00', days = 0:6, tag='ER'))

AdrienHdz/traveltimeCLT documentation built on Dec. 31, 2020, 9:46 a.m.