knneigh.vect {dprep} | R Documentation |
Function that returns the distance from a vector "x" to its k-nearest-neighbors in the matrix "data"
knneigh.vect(x, data, k)
x |
a given instance of the data matrix |
data |
the name of the data matrix |
k |
the number of neigbors |
Caroline Rodriguez