Calculate matrix of pair-wise travel times between points using a single mode of transport.
Source:R/times-single-mode.R
      m4ra_times_single_mode.RdCalculate matrix of pair-wise travel times between points using a single mode of transport.
Arguments
- graph
- A - dodgrnetwork returned from the weight_streetnet function using a network obtained with the osmdata- osmdata_scfunction.
- from
- Vector or matrix of points from which route distances are to be calculated (see Notes) 
- to
- Vector or matrix of points to which route distances are to be calculated (see Notes) 
- path
- If specified, save individual travel time vectors for each 'from' point at that local directory. - fromand- tovalues can be either two-column matrices or equivalent of longitude and latitude coordinates, or else single columns precisely matching node numbers or names given in- graph$fromor- graph$to. If- tois- NULL, pairwise distances are calculated between all points specified in- from. If both- fromand- toare- NULL, pairwise distances are calculated between all nodes in- graph.
See also
Other main:
m4ra_dists_n_pts(),
m4ra_gtfs_traveltimes(),
m4ra_times_multi_mode()
Examples
net <- dodgr::weight_streetnet (m4ra_hampi, wt_profile = "foot")
#> Loading required namespace: dplyr
traveltimes <- m4ra_times_single_mode (net)