Skip to content

Association Rule Classification

1packages depend
4.3Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

Implements the Classification-based on Association Rules (CBA) algorithm for association rule classification. The package, also described in Hahsler et al. (2019) doi:10.32614/RJ-2019-048, contains several convenience methods that allow to automatically set CBA parameters (minimum confidence, minimum support) and it also natively handles numeric attributes by integrating a pre-discretization step. The rule generation phase is handled by the 'arules' package. To further decrease the size of the CBA models produced by the 'arc' package, postprocessing by the 'qCBA' package is suggested.

Changes in 1.4.2

Changes

  • Added rda version of the humtemp dataset
  • Several function arguments were renamed to improve code readability

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4.2
README· In the repository, left out of the releaseVignettesNoNEWSYes · 33% structured · mentions 1.4.2Citation fileNoWebsitenot declared in DESCRIPTION
Description cites an R Journal article
Help pages
18
Examples that run
92%12 run in a plain check · 1 hold no code
Exported functions with examples
75%
Documented parameters
99%
Return-value docs
94%
Help pages citing references
22%

Downloads

4.3K
CRAN downloads in the past year
Rank #6,653 · ~12/day · ~361/mo
Daily download trend is not available in this view yet.
47130 days
1.3K90 days
4.3K1 year
Compare downloads with other packages →
Also on97 r2u16 autocran

Repository

7Stars
3Forks
1Open issues
0Open PRs
3Releases
78Commits
1Commit identities
78 commits · Last activity 2025-04-08
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
23
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2024-12-30 · 72026-07-07 · 7
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/kliegr/arc on 2026-10-21.

Continuous integration (1)
Travis CI (config file)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing arc adds 6 packages (1 with compiled code, 2.6 MB of source tarballs). Heaviest: arules 1.8 MB, R.oo 375 KB, R.utils 359 KB.

Depends (4)
Imports (4)
Matrixmethodsdatasetsutils
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Depends 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 1.0 (2016)
Releases (9)

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
  • 1.4.2Latest
    record
    2025-04-03 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.4
    record
    2023-08-17 · diff ↗
  • 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
  • 1.3
    record
    2020-11-07 · diff ↗ ·
    added 1 export
    getConfVectorForROC
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.2
    record
    2018-04-18 · diff ↗
  • 1.1.4
    record
    2018-03-05 · diff ↗
  • 1.1.3
    record
    2017-11-15 · diff ↗ ·
    added 1 export
    CBARuleModel
  • 1.1.2
    record
    2017-08-24 · diff ↗ ·
    added 1 export
    cba_manual
Show 4 earlier eventsHide 4 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1
    record
    2017-03-02 · diff ↗ ·
    removed 1 export
    rulemodelAccuracy
    added 2 exports
    CBARuleModelAccuracy, cbaIrisNumeric
  • 1.0
    record
    2016-09-07
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-09-07
Total releases
9 / 10 yrs
License
GPL-3 OSI · relicensed from AGPL-3 in 1.4
Copyright
The mdlp2.R script reuses parts of the code from the R `discretization` package by HyunJi Kim (GPL license).
Minimum R
≥ 3.5.0
Bundled data
0.5 KB / 2 files
Download size
42 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("arc")
Kliegr, T. (2025). arc: Association Rule Classification (Version 1.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.arc

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 arc version 1.4.2 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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