rs_distance_matrix: Row-major shortest-distance matrix from each source to each...

View source: R/extendr-wrappers.R

rs_distance_matrixR Documentation

Row-major shortest-distance matrix from each source to each target (0-based indices). Length is sources * targets.

Description

Row-major shortest-distance matrix from each source to each target (0-based indices). Length is sources * targets.

Usage

rs_distance_matrix(from, to, weight, n_nodes, sources, targets)

osmnxr documentation built on Oct. 20, 2026, 1:07 a.m.