Description Usage Arguments Value See Also
Reduce multiple travel times to a set of percentile values
1 2 3 4 5 6 7 | reduce_to_percentiles(x, percentiles = c(5, 25, 50, 75, 95))
## S3 method for class 'data.table'
reduce_to_percentiles(x, percentiles = c(5, 25, 50, 75, 95))
## S3 method for class 'stars'
reduce_to_percentiles(x, percentiles = c(5, 25, 50, 75, 95))
|
x |
Object to reduce. May be a travel time grid as object of class
|
percentiles |
Percentile values that should be calculated. |
In case x
is a travel time grid: the updated travel time grid as
object of class stars
, with the third dimension
now having one coordinate per calculated percentile value. The original
third dimension is removed.
In case x
is a data table: the updated table having one travel time column
per calculated percentile, all named "travel_time_p" followed by the
corresponding percentile value. The original travel time columns are
removed.
create_traveltime_grid()
, multinet_traveltimes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.