Learn R Programming

pathmapping (version 1.0.2)

PathDist:

Description

This function computes the length of a path. It does so by summing each consecutive line segment.

Usage

PathDist(path)

Arguments

path
A two-column matrix describing the x,y coordinates of a path.

Value

returns a scalar value indicating path length.

References

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