Clustering with a Novel Non Euclidean Relative Distance

Using the novel Relative Distance to cluster datasets. Implementation of a clustering approach based on the k-means algorithm that can be used with any distance. In addition, implementation of the Hartigan and Wong method to accommodate alternative distance metrics. Both methods can operate with any distance measure, provided a suitable method is available to compute cluster centers under the chosen metric. Additionally, the k-medoids algorithm is implemented, offering a robust alternative for clustering without the need of computing cluster centers under the chosen metric. All three methods are designed to support Relative distances, Euclidean distances, and any user-defined distance functions. The Hartigan and Wong method is described in Hartigan and Wong (1979) and an explanation of the k-medoids algorithm can be found in Reynolds et al (2006) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RelativeDistClust")

0.1.0 by Irene Creus Martí, a year ago


Browse source code at https://github.com/cran/RelativeDistClust


Authors: Irene Creus Martí [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL-3 license


Imports compositions, proxy, utils, ggpubr, factoextra, ggplot2

Suggests testthat, clusterSim, fpc, gtools, cluster


See at CRAN