PathDist {pathmapping}R Documentation

Compute Length of a path

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.

Author(s)

Shane T. Mueller and Brandon Perelman

References

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


[Package pathmapping version 1.0.2 Index]