Learn R Programming

dprep (version 3.0.2)

knneigh.vect: Auxiliary function for computing the LOF measure.

Description

Function that returns the distance from a vector "x" to its k-nearest-neighbors in the matrix "data"

Usage

knneigh.vect(x, data, k)

Arguments

x
A given instance of the data matrix
data
The name of the data matrix
k
The number of neigbors

See Also

maxlof