CRAN Task View: Cluster Analysis & Finite Mixture Models

Maintainer:Friedrich Leisch, Bettina Gruen
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:Friedrich Leisch, Bettina Gruen (2022). CRAN Task View: Cluster Analysis & Finite Mixture Models. Version 2022-03-08. 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 cross-sectional 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.

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, Bmix, bmixture, cba, cclust, CHsharp, clue, clusterCrit, clusterGeneration, ClusterR, clusterRepro, clusterSim, clustMixType, clustvarsel, clv, clValid, CoClust, compHclust, crimCV, DatabionicSwarm, dbscan, dendextend, depmix, depmixS4, dynamicTreeCut, e1071, EMCluster, evclust, FactoClass, factoextra, fastcluster, fclust, FCPS, flashClust, fpc, funFEM, funHDDC, genieclust, GLDEX, GMCM, GSM, HDclassif, idendr0, IMIFA, isopam, kernlab, kml, latentnet, LCAvarsel, lcmm, mcclust, mdendro, MetabolAnalyze, mixAK, MixAll, mixdist, mixPHM, mixR, mixRasch, mixreg, MixSim, mixsmsn, mixtools, mixture, MOCCA, MoEClust, movMF, mritc, NbClust, nor1mix, NPflow, ORIClust, pdfCluster, poLCA, prabclus, prcr, PReMiuM, ProjectionBasedClustering, protoclust, psychomix, pvclust, randomLCA, rebmix, rjags, RPMM, seriation, sigclust, skmeans, som, Spectrum, tclust, teigen, treeClust, VarSelLCM.

Other resources