distplot | R Documentation |
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. |
DBSCAN
, dbscan
require (datasets)
data (iris)
distplot (5, iris [, -5], h = .65)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.