distplot: Plot a k-distance graphic

distplotR Documentation

Plot a k-distance graphic

Description

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.

See Also

DBSCAN, dbscan

Examples

require (datasets)
data (iris)
distplot (5, iris [, -5], h = .65)

fdm2id documentation built on July 9, 2023, 6:05 p.m.

Related to distplot in fdm2id...