mydist: Euclidean Distance

Description Usage Arguments Value

View source: R/distances.R

Description

Calculates the euclidean distance between two vectors x1 and x2.

Usage

1
mydist(x1, x2)

Arguments

x1, x2

numeric vectors.

Value

the euclidean distance between the inputs.


joshloyal/STAT542 documentation built on May 4, 2019, 1:08 p.m.