Skip to content

aggTrees

2.1.0Package record

Aggregation Trees

0packages depend
3.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Nonparametric data-driven approach to discovering heterogeneous subgroups in a selection-on-observables framework. 'aggTrees' allows researchers to assess whether there exists relevant heterogeneity in treatment effects by generating a sequence of optimal groupings, one for each level of granularity. For each grouping, we obtain point estimation and inference about the group average treatment effects. Please reference the use as Di Francesco (2022) doi:10.2139/ssrn.4304256.

Changes in 2.1.0

The 'build_aggtree' function now requires a different set of arguments that allow better control on training-honest sample split.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.5 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
  • OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-02
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.0
READMEYes · 268 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 2.1.0Citation fileNoWebsiteYes · pkgdown
Help pages
20 (4 internal)
Examples that run
73%8 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
75%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
40%

Downloads

3.8K
CRAN downloads in the past year
Rank #9,333 · ~10/day · ~313/mo
Daily download trend is not available in this view yet.
37030 days
1K90 days
3.8K1 year
Compare downloads with other packages →
Also on99 r2u64 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
298Commits
2Commit identities
298 commits · Last activity 2026-03-20 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-10-09 · 12026-07-07 · 1
PracticesBeta

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

Checks run against github.com/riccardo-df/aggtrees on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-03-20 · The repository has a site deploy workflow

pkgdown site last built 2026-03-20

CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing aggTrees adds 96 packages (53 with compiled code, 75 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0.0 (2023), 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
  • 2.1.0Latest
    record
    2024-09-09 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0.2
    record
    2023-09-20 · diff ↗
  • 2.0.1
    record
    2023-08-09 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0.0
    record
    2023-02-22 · diff ↗ ·
    removed 1 export
    analyze_aggtree
    added 1 export
    inference_aggtree
  • 1.0.0
    record
    2023-02-09
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-09
Total releases
5 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Download size
559 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("aggTrees")
Di Francesco, R. (2024). aggTrees: Aggregation Trees (Version 2.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.aggTrees

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 aggTrees version 2.1.0 [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