PathDist: Compute Length of a path

Description Usage Arguments Value Author(s) References

View source: R/PathDist.R

Description

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

Usage

1
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/


pathmapping documentation built on May 2, 2019, 4:20 a.m.