Learn R Programming

SKNN (version 4.1.2)

Dist: Finding the distance between two observations.

Description

It's a function of finding the distance between two observations.

Usage

Dist(x,y)

Value

A list.

Arguments

x

Numeric. A vector denoting an observation.

y

Numeric. A vector denoting an observation.

Author

Yarong Yang