The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

catviz: Visualizing Causal Assignment Trees for CSDiD and DR-DDD Designs

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>.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: dplyr, ggplot2, glue, tidyr, purrr, tibble, grid, rlang
Suggests: testthat (≥ 3.0.0)
Published: 2026-04-01
DOI: 10.32614/CRAN.package.catviz
Author: Victor Kilanko [aut, cre]
Maintainer: Victor Kilanko <victorkilanko at gmail.com>
BugReports: https://github.com/VictorKilanko/catviz/issues
License: MIT + file LICENSE
URL: https://github.com/VictorKilanko/catviz
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: catviz results

Documentation:

Reference manual: catviz.html , catviz.pdf

Downloads:

Package source: catviz_0.1.1.tar.gz
Windows binaries: r-devel: catviz_0.1.1.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): catviz_0.1.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): catviz_0.1.1.tgz, r-oldrel (x86_64): catviz_0.1.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=catviz to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.