Learn R Programming

daltoolbox (version 1.1.727)

fit.cluster_dbscan: fit dbscan model

Description

Fits a DBSCAN clustering model by setting the eps parameter. If eps is not provided, it is estimated based on the k-nearest neighbor distances. It wraps dbscan library

Usage

# S3 method for cluster_dbscan
fit(obj, data, ...)

Value

returns a fitted obj with the eps parameter set

Arguments

obj

an object containing the DBSCAN model configuration, including minPts and optionally eps

data

the dataset to use for fitting the model

...

optional arguments