Learn R Programming

enmSdmX (version 1.2.12)

.euclid: Euclidean distance between a pair of points

Description

Euclidean distance between a pair of points or two points. Note that the output is unsigned if x2 and y2 are provided, but signed if not.

Usage

.euclid(a, b)

Arguments

a

Numeric vector from 1 to 3 elements long

b

Numeric vector from 1 to 3 elements long