Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
[test by reto]
Authors: Malika Charrad, Nadia Ghazzali, Véronique Boiteau, Azam Niknafs
Title: NbClust: An R Package for Determining the Relevant Number of Clusters in a Data Set
Abstract: Clustering is the partitioning of a set of objects into groups (clusters) so that objects within a group are more similar to each others than objects in different groups. Most of the clustering algorithms depend on some assumptions in order to define the subgroups present in a data set. As a consequence, the resulting clustering scheme requires some sort of evaluation as regards its validity.
The evaluation procedure has to tackle difficult problems such as the quality of clusters, the degree with which a clustering scheme fits a specific data set and the optimal number of clusters in a partitioning. In the literature, a wide variety of indices have been proposed to find the optimal number of clusters in a partitioning of a data set during the clustering process. However, for most of indices proposed in the literature, programs are unavailable to test these indices and compare them.
The R package NbClust has been developed for that purpose. It provides 30 indices which determine the number of clusters in a data set and it offers also the best clustering scheme from different results to the user. In addition, it provides a function to perform k-means and hierarchical clustering with different distance measures and aggregation methods. Any combination of validation indices and clustering methods can be requested in a single function call. This enables the user to simultaneously evaluate several clustering schemes while varying the number of clusters, to help determining the most appropriate number of clusters for the data set of interest.

Page views:: 28518. Submitted: 2012-08-13. Published: 2014-11-03.
Paper: NbClust: An R Package for Determining the Relevant Number of Clusters in a Data Set     Download PDF (Downloads: 45548)
NbClust_2.0.3.tar.gz: R source package Download (Downloads: 775; 23KB)
v61i06.R: R example code from the paper Download (Downloads: 846; 1KB)
SimulatedData.txt: Example data set in plain text format Download (Downloads: 656; 6KB)

DOI: 10.18637/jss.v061.i06

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.