Skip to content

simDAG

1.0.1Package record

Simulate Data from a (Time-Dependent) Causal DAG

0packages depend
5.9Kdownloads / year
99.1%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.1

Bug Fixes

  • Temporary fix for a bug caused by changes in lme4, which in turn caused a bug in the simr package. Installing simr from github already fixes the issue, so this update was made solely to retain simDAG on CRAN.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 8.6 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-06
  • ERROR11 OK, 2 ERROR2026-07-18
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK13 OK2026-05-02
Show 5 earlier changesHide 5 earlier changes
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-04-04
  • ERROR13 OK, 1 ERROR2026-03-28
  • OK14 OK2026-03-18
  • ERROR9 OK, 5 ERROR2026-03-10
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 447 wordsVignettesYes · 9 · dynamicNEWSYes · 100% structured · mentions 1.0.1Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JSS article
Help pages
43includes a package overview page
Examples that run
100%42 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
28%

Downloads

5.9K
CRAN downloads in the past year
Rank #8,471 · ~16/day · ~495/mo
Daily download trend is not available in this view yet.
39730 days
1.1K90 days
5.9K1 year
Compare downloads with other packages →
Also on135 r2u5 autocran

Repository

19Stars
1Forks
0Open issues
0Open PRs
16Releases
284Commits
3Commit identities
causal-inferencedirected-acyclic-graphsimulation
License file reads as GPL-3.0 · 284 commits · Last activity 2026-10-15 · 0% stars, 30d · Default branch at 1.0.1.9000, ahead of CRAN 1.0.1 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-10-14 · 152026-07-07 · 19
PracticesBeta

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

Checks run against github.com/robindenz1/simdag on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-15 · The repository has a site deploy workflow

pkgdown site last built 2026-10-15

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 2 practices
Research and citation (1)
codemeta.json
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing simDAG adds 56 packages (36 with compiled code, 59 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2023)
Releases (16)

Pick two releases to compare their code metrics.

Show 4 earlier eventsHide 4 earlier events
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1
    record
    2024-03-07 · diff ↗ ·
    added 1 export
    sim_n_datasets
  • 0.1.0
    record
    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

Cite

Cite this package

Run in R for the authors' entry:

citation("simDAG")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v116.i02.

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-10-23. https://doi.org/10.5281/zenodo.21843040

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