Implements Measures for the Comparison of Two Partitions
Overview
Provides several measures ((dis)similarity, distance/metric, correlation, entropy) for comparing two partitions of the same set of objects. The different measures can be assigned to three different classes: Pair comparison (containing the famous Jaccard and Rand indices), set based, and information theory based. Many of the implemented measures can be found in Albatineh AN, Niewiadomska-Bugaj M and Mihalko D (2006) doi:10.1007/s00357-006-0017-z and Meila M (2007) doi:10.1016/j.jmva.2006.11.013. Partitions are represented by vectors of class labels which allow a straightforward integration with existing clustering algorithms (e.g. kmeans()). The package is mostly based on the S4 object system.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 52includes a package overview page
- Examples that run
- 100%41 run in a plain check
- Exported functions with examples
- 80%
- Documented parameters
- 100%
- Return-value docs
- 2%
- Help pages citing references
- 67% with a bibliography file
Downloads
Repository
Stars over time
Forks over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/kit-iism-em/partitioncomparison on 2026-10-11.
Dependencies
Installing partitionComparison adds 3 packages (2 with compiled code, 1.9 MB of source tarballs). Heaviest: rbibutils 1.1 MB, lpSolve 457 KB, Rdpack 370 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2.6Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.2.52019-03-07 · diff ↗
- 0.2.42018-10-04 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.2.32017-12-19 · diff ↗
- 0.2.22017-08-25
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-08-25
- Total releases
- 5 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.2.0
- Download size
- 81 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("partitionComparison")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
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.