R/predict.traveltimeCLT.trip_specific.R
predict.traveltimeCLT.trip_specific.Rd
predict.traveltimeCLT.trip_specific
returns the predicted mean and variance of travel time for a specific route and start time.
A POSIXlt
value representing the start time of the trip.
Vector of links in the order of travel.
Vector of distances to be traveled on each on the links in route
.
An output of link_mean_variance
, see ?link_mean_variance
.
Vector of auto-correlation in the order of lag, starting at lag 0 for no correlation.
A list
of time bin rules to be passed to rules2timebins
, see ?rules2timebins
.
'both'
to predict the mean and variance of travel time and 'mean-only'
for the mean. Default 'both'
.
Logical indicating whether to return a sequence of means and standard deviations, in the order of route
, or only the final ETA and standard deviation. Default final.only=TRUE
.
Returns a list of predictions.
if (FALSE) {
}