Skip to content

dagitty

0.3-4

Graphical Analysis of Structural Causal Models

21packages depend
704.6Kdownloads / year
44.8%test coverage
11/13checks pass

Overview

About
Maintained by Johannes TextorFirst published 2016-03-236 releasesCRAN page ↗GitHub ↗

A port of the web-based software 'DAGitty', available at https://dagitty.net, for analyzing structural causal models (also known as directed acyclic graphs or DAGs). This package computes covariate adjustment sets for estimating causal effects, enumerates instrumental variables, derives testable implications (d-separation and vanishing tetrads), generates equivalent models, and includes a simple facility for data simulation.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.9 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.07
44.8%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
13%
References docs
17%

Downloads

704.6K
CRAN downloads in the past year
Rank #881 · ~1.9K/day · ~58.7K/mo
Daily download trend is not available in this view yet.
14.4K30 days
51.8K90 days
704.6K1 year
Compare downloads with other packages →
Also on424 r2u24 autocran3.3K conda_forge93 c2d4u

Repository

Repository
348Stars
57Forks
47Open issues
5Open PRs
2Releases
259Commits
9Contributors
License GPL-2.0 · 259 commits · Last activity 2026-03-04 · +0.3% stars, 30d

Stars over time

2025-08-10 · 3122026-07-31 · 348

Repository practices

Upstream repositoryBeta

Checks run against github.com/jtextor/dagitty on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.0.0
Imports (9)
V8jsonlitebootMASSmethodsgrDevicesstatsutilsgraphics
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (3)
no longer listed · 0.1-9 to 0.3-4
no longer listed · 0.1-9 to 0.3-4
no longer listed · 0.3-0 to 0.3-4
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3-4Latest
    2023-12-07 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3-1
    2021-01-21 · diff ↗
  • 0.3-0
    2020-07-21 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2-2
    2016-08-26 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.1-10
    2016-03-26 · diff ↗
Show 2 earlier events
  • 0.1-9
    2016-03-23
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-03-23
Total releases
6 / 10 yrs
License
GPL-2 OSI
Minimum R
≥ 3.0.0
Download size
186 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dagitty")

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

From data release v2026-08-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