Skip to content

catviz

0.1.1Package record

Visualizing Causal Assignment Trees for CSDiD and DR-DDD Designs

0packages depend
2.5Kdownloads / year
54.8%test coverage
13/13flavors OK

Overview

About

Tools for constructing, labeling, and visualizing Causal Assignment Trees (CATs) in settings with staggered adoption. Supports Callaway and Sant'Anna difference-in-differences (CSDiD) and doubly robust difference-in-difference-differences (DR-DDD) designs. The package helps clarify treatment timing, never-treated vs. not-yet-treated composition, and subgroup structure, and produces publication-quality diagrams and summary tables. Current functionality focuses on data-to-node mapping, node counts, cohort-year summaries, and high-quality tree plots suitable for empirical applications prior to estimation. Methods are based on Callaway and Sant'Anna (2021) doi:10.1016/j.jeconom.2020.12.001, Sant'Anna and Zhao (2020) doi:10.1016/j.jeconom.2020.06.003, and Kilanko (2026) https://github.com/VictorKilanko/catviz.

Install

Health

CRAN checks
13OK
Slowest check: 1.3 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
  • OK7 OK2026-04-02
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 766 wordsVignettesNoNEWSYes · 67% structured · does not mention 0.1.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
20 (1 internal)
Examples that run
95%18 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #13,440 · ~7/day · ~207/mo
Daily download trend is not available in this view yet.
27930 days
86590 days
2.5K1 year
Compare downloads with other packages →
Also on48 r2u8 autocran

Repository

0Stars
0Forks
1Open issues
0Open PRs
0Releases
Last activity 2026-03-28
Responsiveness
not measured
PracticesBeta

Checks run against github.com/victorkilanko/catviz on 2026-10-21.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing catviz adds 29 packages (15 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, isoband 1.5 MB.

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

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.1 (2026)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    2026-04-01 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-04-01
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
25 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("catviz")
Kilanko, V. (2026). catviz: Visualizing Causal Assignment Trees for CSDiD and DR-DDD Designs (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.catviz

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

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