population_estimates estimates the population mean, variance of travel time

population_estimates(data, nsamples = 500L, level = 0.95)

Arguments

data

A data frame of trips and their road level travel information, formatted as trips, see trips or data(trips); View(trips).

nsamples

The number of trips to sample for parameter estimation. Default is 500.

level

Significance level. Default is 0.95.

Value

Returns the mean, standard deviation, and confidence interval of travel time estimated based on the entire population of trips.

Examples

if (FALSE) {

population_estimates(train)
}