Skip to content

Interpretable Discovery and Inference of Heterogeneous Treatment Effects

0packages depend
3.7Kdownloads / year
62.9%test coverage
13/13flavors OK

Overview

About

Provides a new method for interpretable heterogeneous treatment effects characterization in terms of decision rules via an extensive exploration of heterogeneity patterns by an ensemble-of-trees approach, enforcing high stability in the discovery. It relies on a two-stage pseudo-outcome regression, and it is supported by theoretical convergence guarantees. Bargagli-Stoffi, F. J., Cadei, R., Lee, K., & Dominici, F. (2023) Causal rule ensemble: Interpretable Discovery and Inference of Heterogeneous Treatment Effects. arXiv preprint doi:10.48550/arXiv.2009.09036.

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-26
  • ERROR12 OK, 1 ERROR2026-07-27
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.7
READMEYes · 819 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · does not mention 0.2.7Citation fileYes · cites a publication
Cites a JOSS paper
Help pages
36 (27 internal)includes a package overview page
Examples that run
75%3 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
3%

Downloads

3.7K
CRAN downloads in the past year
Rank #7,411 · ~10/day · ~305/mo
Daily download trend is not available in this view yet.
47430 days
1.2K90 days
3.7K1 year
Compare downloads with other packages →
Also on99 r2u13 autocran

Repository

16Stars
5Forks
0Open issues
0Open PRs
10Releases
1,061Commits
6Commit identities
License file reads as GPL-3.0 · 1,061 commits · Last activity 2024-10-20 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
91%
Median days to close, 50 most recently updated closed issues
54
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-07-05 · 142026-09-07 · 16
PracticesBeta

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

Checks run against github.com/nsaph-software/cre 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

Governance and community (1)
Code of conduct
Docs source (2)
pkgdown

GitHub Pages site last deployed 2024-10-20

Coverage (2)
Coverage reporting.covrignore
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing CRE adds 48 packages (25 with compiled code, 51 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (5)
Author, Maintainer since 0.2.7 (2024)

Previously maintained by Naeem Khoshnevis (0.1.0 to 0.2.6).

Releases (10)

Pick two releases to compare their code metrics.

Show 1 earlier eventHide 1 earlier event
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-10-18
Total releases
10 / 4 yrs
License
GPL-3 OSI
Copyright
Harvard University
Minimum R
≥ 3.5.0
Download size
167 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("CRE")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.21105/joss.05587.

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

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