path.dist: Normalized Cumulative Distance Along a Vertex Path

View source: R/path_geodesic_utils.R

path.distR Documentation

Normalized Cumulative Distance Along a Vertex Path

Description

Normalized Cumulative Distance Along a Vertex Path

Usage

path.dist(s, V, edge.col = "gray")

Arguments

s

Sequence of vertex indices.

V

Vertex coordinate matrix.

edge.col

Legacy argument retained for compatibility.

Value

Numeric vector of cumulative path distances normalized to end at 1.


dgraphs documentation built on Aug. 21, 2026, 1:08 a.m.