Gaussian Mixture Models, K-Means, Mini-Batch-Kmeans, K-Medoids and Affinity Propagation Clustering
Overview
Gaussian mixture models, k-means, mini-batch-kmeans, k-medoids and affinity propagation clustering with the option to plot, validate, predict (new data) and estimate the optimal number of clusters. The package takes advantage of 'RcppArmadillo' to speed up the computationally intensive parts of the functions. For more information, see (i) "Clustering in an Object-Oriented Environment" by Anja Struyf, Mia Hubert, Peter Rousseeuw (1997), Journal of Statistical Software, doi:10.18637/jss.v001.i04; (ii) "Web-scale k-means clustering" by D. Sculley (2010), ACM Digital Library, doi:10.1145/1772690.1772862; (iii) "Armadillo: a template-based C++ library for linear algebra" by Sanderson et al (2016), The Journal of Open Source Software, doi:10.21105/joss.00026; (iv) "Clustering by Passing Messages Between Data Points" by Brendan J. Frey and Delbert Dueck, Science 16 Feb 2007: Vol. 315, Issue 5814, pp. 972-976, doi:10.1126/science.1136800.
- The
predict()method forGMMClusterobjects now has atypeargument. It returns hard cluster labels by default (type = "cluster"), cluster probabilities withtype = "prob", and the complete output ofpredict_GMM()withtype = "all"(see issue #73). - I fixed the CRAN NOTE: "Found calls to structure() using deprecated special names: ClusterR/tests/testthat/test-gmm.R (.Dim: 2, .Names: 1) '.Dim' should be changed to 'dim'. '.Names' should be changed to 'names'."
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-12
- NOTE10 OK, 3 NOTE2026-07-16
- OK13 OK2026-05-02
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 3 earlier changesHide 3 earlier changes
- NOTE9 OK, 5 NOTE2026-04-10
- ERROR8 OK, 5 NOTE, 1 ERROR2026-04-09
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 30 (5 internal)
- Examples that run
- 88%22 run in a plain check · 1 never run · 2 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 91%
- Help pages citing references
- 37%
Downloads
Repository
- PRs merged (all time)
- 47%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 3
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/mlampros/clusterr on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-09-07 · The repository has a site deploy workflow
pkgdown site last built 2026-09-07, before release 1.3.7 (2026-09-08)
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2025-10-13Commits: 9 by its own account
Dependencies
Installing ClusterR adds 20 packages (10 with compiled code, 17 MB of source tarballs). Heaviest: ggplot2 6.0 MB, Rcpp 1.8 MB, isoband 1.5 MB.
Show all 23 packagesHide all 23 packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.3.7Latest
- RR 4.6.0 released · 2026-04-24
- 1.3.62025-12-22 · diff ↗
- 1.3.52025-10-18 · diff ↗
- 1.3.42025-09-14 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.3.32024-06-18 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.3.22023-12-04 · diff ↗
- 1.3.12023-04-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.3.0
- 1.2.92022-12-13 · diff ↗
- 1.2.8
- 1.2.72022-09-21 · diff ↗
- RR 4.2.0 released · 2022-04-22
Show 32 earlier eventsHide 32 earlier events
- 1.2.62022-01-28 · diff ↗
- 1.2.52021-05-21 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.2.42021-05-04 · diff ↗
- 1.2.32021-05-03 · diff ↗
- 1.2.22020-05-12 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.2.12019-11-29 · diff ↗
- 1.2.02019-07-18 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.1.92019-04-14 · diff ↗
- 1.1.82019-01-11 · diff ↗
- 1.1.72018-12-10 · diff ↗
- 1.1.6
- 1.1.52018-10-05 · diff ↗
- 1.1.42018-08-22 · diff ↗
- 1.1.32018-07-21 · diff ↗
- 1.1.22018-05-04 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.1.12018-02-26 · diff ↗
- 1.1.02018-01-17 · diff ↗
- 1.0.92017-11-30 · diff ↗
- 1.0.82017-10-28 · diff ↗
- 1.0.72017-10-14 · diff ↗
- 1.0.62017-08-03 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.0.52017-02-11 · diff ↗
- 1.0.42017-02-02 · diff ↗
- 1.0.32016-10-08 · diff ↗
- 1.0.12016-09-09 · diff ↗
- 1.0.02016-09-06
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-09-06
- Total releases
- 37 / 10 yrs
- License
- GPL-3 OSI · relicensed from MIT + file LICENSE in 1.1.6
- Minimum R
- ≥ 3.2
- Bundled data
- 158 KB / 3 files
- Download size
- 960 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ClusterR")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.