Get 50% off unlimited learning
Buy Now
Rdocumentation
powered by
Learn R Programming
dprep (version 3.0.2)
dist.to.knn: Auxiliary function for the LOF algorithm.
Description
This function returns an object in which columns contain the indices of the first k neighbors followed by the distances to each of these neighbors.
Usage
dist.to.knn(dataset, neighbors)
Arguments
dataset
The name of the dataset
neighbors
The number of neighbors
See Also
maxlof