knneigh.vect {dprep} | R Documentation

## Auxiliary function for computing the LOF algorithm

### 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

### Author(s)

Caroline Rodriguez

### See Also

`maxlof`

[Package dprep version 1.0 Index]