Skip to content

simDAG

1.0.1

Simulate Data from a (Time-Dependent) Causal DAG

0packages depend
6.1Kdownloads / year
99.1%test coverage
13/13checks pass

Overview

About
Maintained by Robin DenzFirst published 2023-08-2816 releasesCRAN page ↗GitHub ↗

Simulate complex data from a given directed acyclic graph and information about each individual node. Root nodes are simply sampled from the specified distribution. Child Nodes are simulated according to one of many implemented regressions, such as logistic regression, linear regression, poisson regression or any other function. Also includes a comprehensive framework for discrete-time simulation, discrete-event simulation, and networks-based simulation which can generate even more complex longitudinal and dependent data. For more details, see Robin Denz, Nina Timmesfeld (2026) doi:10.18637/jss.v116.i02.

Install

Health

CRAN checks
13OK
Slowest check: 9.3 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 1.48
99.1%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-06
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-18
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-04
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-28
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-18
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-10
    9 OK · 0 NOTE · 0 WARNING · 5 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 447 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
28%

Downloads

6.1K
CRAN downloads in the past year
Rank #6,201 · ~17/day · ~511/mo
Daily download trend is not available in this view yet.
27930 days
1.3K90 days
6.1K1 year
Compare downloads with other packages →
Also on176 r2u4 autocran

Repository

Repository
19Stars
1Forks
0Open issues
0Open PRs
16Releases
278Commits
3Contributors
causal-inferencedirected-acyclic-graphsimulation
License GPL-3.0 · 278 commits · Last activity 2026-07-31 · 0% stars, 30d

Stars over time

2025-03-14 · 112026-07-07 · 19

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/robindenz1/simdag on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Research and citation (1)
codemeta.json
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

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

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

  • 1.0.1Latest
    2026-07-31 · current release · diff ↗
  • 1.0.0
    2026-05-14 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.2
    2026-03-30 · diff ↗
  • 0.5.1
    2026-03-10 · diff ↗
  • 0.5.0
    2026-01-08 · diff ↗
  • 0.4.1
    2025-10-15 · diff ↗
  • 0.4.0
    2025-08-27 · diff ↗
  • 0.3.2
    2025-06-24 · diff ↗
  • 0.3.1
    2025-05-28 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    2025-03-30 · diff ↗
  • 0.2.2
    2025-02-23 · diff ↗
  • 0.2.1
    2025-01-07 · diff ↗
  • 0.2.0
    2024-09-03 · diff ↗
  • 0.1.2
    2024-06-13 · diff ↗
Show 4 earlier events
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1
    2024-03-07 · diff ↗
  • 0.1.0
    2023-08-28
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-08-28
Total releases
16 / 3 yrs
License
GPL (>= 3) OSI
Download size
1.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("simDAG")
Denz, R., & Meiszl, K. (2026). simDAG: Simulate Data from a (Time-Dependent) Causal DAG (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.simDAG

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 simDAG version 1.0.1 [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