dodgr0.4.1 package

Distances on Directed Graphs

dodgr_dists_categorical

Cumulative distances along different edge categories

dodgr_dists_nearest

Calculate vector of shortest distances from a series of 'from' points ...

dodgr_dists

Calculate matrix of pair-wise distances between points.

igraph_to_dodgr

Convert a igraph network to an equivalent dodgr representation.

match_points_to_graph

Alias for match_pts_to_graph

dodgr_distances

Calculate matrix of pair-wise distances between points.

add_nodes_to_graph

Insert new nodes into a graph, breaking edges at point of nearest inte...

clear_dodgr_cache

Remove cached versions of dodgr graphs.

compare_heaps

Compare timings of different sort heaps for a given input graph.

dodgr_cache_off

Turn off all dodgr caching in current session.

dodgr_cache_on

Turn on all dodgr caching in current session.

dodgr_centrality

Calculate betweenness centrality for a 'dodgr' network.

dodgr_components

Identify connected components of graph.

dodgr_contract_graph

Contract graph to junction vertices only.

dodgr_deduplicate_graph

Deduplicate edges in a graph

dodgr_flowmap

Create a map of dodgr flows.

dodgr_flows_aggregate

Aggregate flows throughout a network.

dodgr_flows_disperse

Aggregate flows dispersed from each point in a network.

dodgr_flows_si

Aggregate flows throughout a network using a spatial interaction model...

dodgr_full_cycles

Calculate fundamental cycles on a FULL (that is, non-contracted) graph...

dodgr_fundamental_cycles

Calculate fundamental cycles in a graph.

dodgr_insert_vertex

Insert a new node or vertex into a network

dodgr_isochrones

Calculate isochrone contours from specified points.

dodgr_isodists

Calculate isodistance contours from specified points.

dodgr_isoverts

Calculate isodistance or isochrone contours from specified points.

dodgr_load_streetnet

Load a street network previously saved with dodgr_save_streetnet .

dodgr_paths

Calculate lists of pair-wise shortest paths between points.

dodgr_sample

Sample a random but connected sub-component of a graph

dodgr_save_streetnet

Save a weighted streetnet to a local file

dodgr_sflines_to_poly

Convert sf LINESTRING objects to POLYGON objects representing al...

dodgr_streetnet_sc

Extract a street network in silicate-format for a given location.

dodgr_streetnet

Extract a street network in sf-format for a given location.

dodgr_times

Calculate matrix of pair-wise travel times between points.

dodgr_to_igraph

Convert a dodgr graph to an igraph.

dodgr_to_sf

Convert a dodgr graph into an equivalent sf object.

dodgr_to_sfc

Convert a dodgr graph into an equivalent sf::sfc object.

dodgr_to_tidygraph

Convert a dodgr graph to an tidygraph.

dodgr_uncontract_graph

Re-expand a contracted graph.

dodgr_vertices

Extract vertices of graph, including spatial coordinates if included.

dodgr

Distances On Directed GRaphs ("dodgr")

estimate_centrality_threshold

Estimate a value for the 'dist_threshold' parameter of the dodgr_centr...

estimate_centrality_time

Estimate time required for a planned centrality calculation.

match_points_to_verts

Alias for match_pts_to_verts

match_pts_to_graph

Match spatial points to the edges of a spatial graph.

match_pts_to_verts

Match spatial points to the vertices of a spatial graph.

merge_directed_graph

Merge directed edges into equivalent undirected edges.

pipe

Pipe operator

summary.dodgr_dists_categorical

Transform a result from dodgr_dists_categorical to summary statistics

weight_railway

Weight a network for routing along railways.

weight_streetnet

Weight a street network according to a specified weighting profile.

write_dodgr_wt_profile

Write dodgr weighting profiles to local file.

Distances on dual-weighted directed graphs using priority-queue shortest paths (Padgham (2019) <doi:10.32866/6945>). Weighted directed graphs have weights from A to B which may differ from those from B to A. Dual-weighted directed graphs have two sets of such weights. A canonical example is a street network to be used for routing in which routes are calculated by weighting distances according to the type of way and mode of transport, yet lengths of routes must be calculated from direct distances.

  • Maintainer: Mark Padgham
  • License: GPL-3
  • Last published: 2024-07-07