View source: R/path_geodesic_utils.R
| path.dist | R Documentation |
Normalized Cumulative Distance Along a Vertex Path
path.dist(s, V, edge.col = "gray")
s |
Sequence of vertex indices. |
V |
Vertex coordinate matrix. |
edge.col |
Legacy argument retained for compatibility. |
Numeric vector of cumulative path distances normalized to end at 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.