pdisttot: Total Pythagorean Distance

Description Usage Arguments Value Author(s) Examples

View source: R/riverdist_1.R

Description

Total Pythagorean distance of a sequence of points. Called internally.

Usage

1

Arguments

xy

A matrix of X-Y coordinates of the sequence of points.

Value

Distance (numeric)

Author(s)

Matt Tyers

Examples

1
2
3
points <- matrix(c(1:10), nrow=5, ncol=2, byrow=FALSE)

pdisttot(xy=points)

riverdist documentation built on Sept. 10, 2021, 9:06 a.m.