Calculate and plot the k-Nearest Neighbor Distance
Fast caclulation of the k-nearest neighbor distances in a matrix of points.
The plot can be used to help find a suitable value for the
eps neighborhood for DBSCAN. Look for the knee in the plot.
the data set as a matrix or a dist object.
number of nearest neighbors used (use minPoints).
further arguments are passed on to
kNN for a discusion of the kd-tree related parameters.
kNNdist returns a numeric vector with the distance to its k nearest
1 2 3 4 5 6 7 8 9 10
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.