Skip to contents

This function computes the euclidean distance between two vectors.

Usage

euc_dist(a, b)

Arguments

a

A numeric vector.

b

Another numeric vector of the same length as a.

Value

The euclidean distance.