Skip to content

rd2d

1.0.0

Estimation and Inference for Boundary Discontinuity Designs

0packages depend
2.9Kdownloads / year
76.7%test coverage
13/13checks pass

Overview

About
Maintained by Matias D. CattaneoFirst published 2025-05-146 releasesCRAN page ↗GitHub ↗

Provides pointwise and uniform estimation and inference methods for boundary discontinuity (BD) designs, a causal inference design that generalizes univariate regression discontinuity (RD) designs to settings with bivariate scores. Implements local polynomial methods for location-based and distance-based analyses, including sharp and fuzzy designs, data-driven bandwidth selection, pointwise confidence intervals, and uniform confidence bands. Methodology is developed in Cattaneo, Titiunik, and Yu (2026) doi:10.48550/arXiv.2505.05670 for location-based methods and Cattaneo, Titiunik, and Yu (2026) doi:10.48550/arXiv.2510.26051 for distance-based methods. For an overview and empirical guidance, see Cattaneo, Titiunik, and Yu (2026) doi:10.48550/arXiv.2511.06474. The companion software article is Cattaneo, Titiunik, and Yu (2025) doi:10.48550/arXiv.2505.07989.

Install

Health

CRAN checks
13OK
Slowest check: 3.9 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.24
76.7%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
90%
Return-value docs
100%
References docs
29%

Downloads

2.9K
CRAN downloads in the past year
Rank #9,632 · ~8/day · ~242/mo
Daily download trend is not available in this view yet.
28230 days
1.2K90 days
2.9K1 year
Compare downloads with other packages →
Also on122 r2u30 autocran

Repository

Repository
4Stars
0Forks
0Open issues
0Open PRs
2Releases
61Commits
2Contributors
61 commits · Last activity 2026-07-08

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/rdpackages/rd2d on 2026-07-19.

Continuous integration (1)
GitHub Actions
Automation and maintenance (1)
Dependabot
Governance and community (2)
Issue templatesSecurity policy
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.0.0Latest
    2026-05-28 · current release · diff ↗
  • 0.2.0
    2026-05-23 · diff ↗
  • 0.1.0
    2026-05-14 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.3
    2025-10-24 · diff ↗
  • 0.0.2
    2025-06-10 · diff ↗
  • 0.0.1
    2025-05-14
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-05-14
Total releases
6 / 1 yrs
License
GPL-3 OSI
Download size
47 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →