Skip to contents

Calculate Euclidean Distance

Usage

distance(x, y)

Arguments

x

Numeric value.

y

Numeric value.

Value

Euclidean distance computed as sqrt(x*x + y*y).