Skip to content

partitionComparison

0.2.6Package record

Implements Measures for the Comparison of Two Partitions

0packages dependsuggested by 1
2.8Kdownloads / year
89.2%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • WARNING12 OK, 1 WARNING2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.6
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

2.8K
CRAN downloads in the past year
Rank #16,317 · ~8/day · ~237/mo
Daily download trend is not available in this view yet.
28230 days
75890 days
2.8K1 year
Compare downloads with other packages →
Also on72 r2u4 autocran

Repository

2Stars
2Forks
0Open issues
0Open PRs
0Releases
17Commits
3Commit identities
rpartitionscomparisonsimilarity-measuresdissimilarity-measuresdistance-measures
License file reads as MIT · 17 commits · Last activity 2023-08-23
Responsiveness
not measured

Stars over time

2022-03-26 · 22026-07-07 · 2
PracticesBeta

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.

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.2.0
Imports (3)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.2.2 (2017), Copyright holder, Contributor
Copyright holder
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.6Latest
    record
    2023-08-23 · current release · diff ↗ ·
    added 2 exports
    PairCoefficients, Partition
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.5
    record
    2019-03-07 · diff ↗
  • 0.2.4
    record
    2018-10-04 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.3
    record
    2017-12-19 · diff ↗
  • 0.2.2
    record
    2017-08-25
  • R
    R 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")
Ball, F., & Geyer-Schulz, A. (2023). partitionComparison: Implements Measures for the Comparison of Two Partitions (Version 0.2.6) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for partitionComparison version 0.2.6 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy