Skip to contents

This function generates a summary of the traveltime function results, producing a cumulative curve plot and a statistic for the fraction of demand which is covered within a given objective travel time.

Usage

traveltime_stats(
  traveltime,
  demand_raster,
  breaks = c(5, 10, 15, 30),
  objectiveminutes = 15
)

Arguments

traveltime

The output object of the traveltime function.

demand_raster

The demand raster layer.

breaks

The breaks (minutes) for the cumulative curve plot.

objectiveminutes

The objective travel time in minutes to calculate the statistic from.