Learn R Programming

galgo (version 1.4)

galgo.dist: Computes the distance in GALGO for KNN based methods

Description

KNN function does not include other common distances. This function includes more distances computations.

Usage

galgo.dist(x, method, p = 2)

Arguments

x

Matrix to compute distnaces

method

Any of "euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski". See dist function.

p

Minkowski power.

Value

A vector class dist.

See Also

dist