euclidean {ao}R Documentation

Euclidean distance.

Description

This function computes the euclidean distance between two numeric vectors.

Usage

euclidean(a, b)

Arguments

a

A numeric (vector).

b

A numeric (vector).

Value

A numeric.

Examples

euclidean(c(0, 0), c(1, 1))

[Package ao version 0.2.1 Index]