Learn R Programming

pathmapping (version 1.0.2)

LinkCost:

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.

References

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