Plot a k-distance graphic
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.
distplot(k, d, h = -1)
k |
The |
d |
The dataset ( |
h |
The y-coordinate at which a horizontal line should be drawn. |
require (datasets) data (iris) distplot (5, iris [, -5], h = .65)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.