Plot the distance to the k's nearest neighbours of each object in decreasing order. Mostly used to determine the eps parameter for the dbscan function.
Usage
distplot(k, d, h = -1)
Arguments
k
The k parameter.
d
The dataset (matrix or data.frame).
h
The y-coordinate at which a horizontal line should be drawn.