causalDisco: Tools for Causal Discovery on Observational Data

Tools for causal structure learning from observational data, with emphasis on temporally ordered variables. The package implements the Temporal Peter–Clark (TPC) algorithm (Petersen, Osler & Ekstrøm, 2021; <doi:10.1093/aje/kwab087>), the Temporal Greedy Equivalence Search (TGES) algorithm (Larsen, Ekstrøm & Petersen, 2025; <doi:10.48550/arXiv.2502.06232>) and Temporal Fast Causal Inference (TFCI). It provides a unified framework for specifying background knowledge, which can be incorporated into the implemented algorithms from the R packages 'bnlearn' (Scutari, 2010; <doi:10.18637/jss.v035.i03>) and 'pcalg' (Kalish et al., 2012; <doi:10.18637/jss.v047.i11>), as well as the Java library 'Tetrad' (Scheines et al., 1998; <doi:10.1207/s15327906mbr3301_3>). The package further includes utilities for visualization, comparison, and evaluation of graph structures, facilitating performance evaluation and methodological studies.

Version: 1.0.1
Depends: R (≥ 4.2.0)
Imports: bnlearn, caugi (≥ 1.0.0), checkmate, cli, digest, dplyr, glue, gtools, methods, micd, mice, pcalg, purrr, R6, readr, rlang, S7, stringr, tibble, tidyr, tidyselect
Suggests: knitr, mockery, RhpcBLASctl, rJava, rmarkdown, spelling, testthat (≥ 3.0.0), withr
Published: 2026-02-24
DOI: 10.32614/CRAN.package.causalDisco
Author: Bjarke Hautop Kristensen [aut, cre], Frederik Fabricius-Bjerre [aut], Anne Helby Petersen [aut], Claus Thorn Ekstrøm [ctb], Tobias Ellegaard Larsen [ctb]
Maintainer: Bjarke Hautop Kristensen <bjarke.kristensen at sund.ku.dk>
BugReports: https://github.com/disco-coders/causalDisco/issues
License: GPL-2
URL: https://github.com/disco-coders/causalDisco, https://disco-coders.github.io/causalDisco/
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: causalDisco results

Documentation:

Reference manual: causalDisco.html , causalDisco.pdf
Vignettes: Causal Discovery (source, R code)
causalDisco (source, R code)
Knowledge (source, R code)
Extending causalDisco with new algorithms (source, R code)
Visualization (source, R code)

Downloads:

Package source: causalDisco_1.0.1.tar.gz
Windows binaries: r-devel: causalDisco_0.9.5.zip, r-release: causalDisco_0.9.5.zip, r-oldrel: causalDisco_0.9.5.zip
macOS binaries: r-release (arm64): causalDisco_0.9.5.tgz, r-oldrel (arm64): causalDisco_0.9.5.tgz, r-release (x86_64): causalDisco_0.9.5.tgz, r-oldrel (x86_64): causalDisco_0.9.5.tgz
Old sources: causalDisco archive

Linking:

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