CRAN Task View: Cluster Analysis & Finite Mixture Models

Maintainer:Bettina Grün
Contact:Bettina.Gruen at
Contributions:Suggestions and improvements for this task view are very welcome and can be made through issues or pull requests on GitHub or via e-mail to the maintainer address. For further details see the Contributing guide.
Citation:Bettina Grün (2024). CRAN Task View: Cluster Analysis & Finite Mixture Models. Version 2024-06-12. URL
Installation:The packages from this task view can be installed automatically using the ctv package. For example, ctv::install.views("Cluster", coreOnly = TRUE) installs all the core packages or ctv::update.views("Cluster") installs all packages that are not yet installed and up-to-date. See the CRAN Task View Initiative for more details.

This CRAN Task View contains a list of packages that can be used for finding groups in data and modeling unobserved heterogeneity. Many packages provide functionality for more than one of the topics listed below, the section headings are mainly meant as quick starting points rather than as an ultimate categorization. Except for packages stats and cluster (which essentially ship with base R and hence are part of every R installation), each package is listed only once.

Most of the packages listed in this view, but not all, are distributed under the GPL. Please have a look at the DESCRIPTION file of each package to check under which license it is distributed.

The first version of this CRAN Task View was written by Friedrich Leisch who also served as its first maintainer.

Hierarchical Clustering:

Partitioning Clustering:

Model-Based Clustering:

Other Cluster Algorithms and Clustering Suites:

Cluster-wise Regression:

Additional Functionality:

CRAN packages

Core:cluster, flexclust, flexmix, mclust, Rmixmod.
Regular:AdMit, ADPclust, amap, apcluster, BayesLCA, bayesm, bayesmix, bgmm, biclust, bmixture, cba, cclust, clue, clusterCrit, clusterGeneration, clusterMI, ClusterR, clusterRepro, clusterSim, clustMixType, clustvarsel, clv, clValid, CoClust, compHclust, crimCV, DatabionicSwarm, dbscan, dendextend, depmix, depmixS4, dynamicTreeCut, e1071, EMCluster, evclust, factoextra, fastcluster, fclust, FCPS, flashClust, fpc, funFEM, genieclust, GLDEX, GMCM, GSM, hclust1d, HDclassif, idendr0, IMIFA, kernlab, kml, latentnet, LCAvarsel, lcmm, mcclust, mdendro, MetabolAnalyze, mixAK, mixdist, mixPHM, mixR, MixSim, mixsmsn, mixtools, mixture, mlr3cluster, MOCCA, MoEClust, movMF, NbClust, nor1mix, NPflow, ORIClust, otrimle, pdfCluster, poLCA, prabclus, prcr, PReMiuM, ProjectionBasedClustering, protoclust, psychomix, pvclust, QuClu, randomLCA, rebmix, reticulate, rjags, RMixtComp, RPMM, seriation, sigclust, skmeans, som, Spectrum, stepmixr, tclust, teigen, treeClust, VarSelLCM.

Other resources