euclidDistance: Euclidean distance between two points

Description Usage Arguments Value

View source: R/euclidDistance.R

Description

Euclidean distance between two points

Usage

1
euclidDistance(x1, y1, x2, y2)

Arguments

x1

x-coordinate of point 1

y1

y-coordinate of point 1

x2

x-coordinate of point 2

y2

y-coordinate of point 2

Value

The Euclidean distance between points 1 and 2 as a number


locationgamer documentation built on Dec. 18, 2020, 5:08 p.m.