LinkCost: Computes the distance of a particular link between paths

View source: R/LinkCost.R

LinkCostR Documentation

Computes the distance of a particular link between paths

Description

This computes the distance between two paths for a particular pair of nodes (points or segments). This is primarily a helper function for the pathmapping library, and typically does not need to be used by end users.

Usage

LinkCost(xy1, xy2, i, j)

Arguments

xy1

Path1

xy2

Path2

i

Index of path1. This is not the row of path1, but the implied node, where the first node is the first point, the second node is the first segment, the third node is the second point, and so on.

j

Index of path2. This is not the row of path1, but the implied node, where the first node is the first point, the second node is the first segment, the third node is the second point, and so on.

Author(s)

Shane T. Mueller and Brandon Perelman

References

See Mueller et al., (2016). https://sites.google.com/a/mtu.edu/mapping/


stmueller/pathmapping documentation built on Nov. 13, 2023, 12:39 p.m.