pdisttot: Total Pythagorean Distance

View source: R/riverdist_1.R

pdisttotR Documentation

Total Pythagorean Distance

Description

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

Usage

pdisttot(xy)

Arguments

xy

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

Value

Distance (numeric)

Author(s)

Matt Tyers

Examples

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

pdisttot(xy=points)

mbtyers/riverdist documentation built on Jan. 16, 2024, 12:34 a.m.