Package: simDAG 1.0.0


Robin Denz
simDAG: Simulate Data from a (Time-Dependent) Causal DAG
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>.
Authors:
simDAG_1.0.0.tar.gz
simDAG_1.0.0.zip(r-4.7)simDAG_1.0.0.zip(r-4.6)simDAG_1.0.0.zip(r-4.5)
simDAG_1.0.0.tgz(r-4.6-any)simDAG_1.0.0.tgz(r-4.5-any)
simDAG_1.0.0.tar.gz(r-4.7-any)simDAG_1.0.0.tar.gz(r-4.6-any)
simDAG_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
simDAG/json (API)
| # Install 'simDAG' in R: |
| install.packages('simDAG', repos = c('https://robindenz1.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/robindenz1/simdag/issues
Pkgdown/docs site:https://robindenz1.github.io
causal-inferencedirected-acyclic-graphsimulation
Last updated from:d5190fcd0f. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 328 | ||
| source / vignettes | OK | 303 | ||
| linux-release-x86_64 | OK | 303 | ||
| macos-release-arm64 | OK | 171 | ||
| macos-oldrel-arm64 | OK | 188 | ||
| windows-devel | OK | 213 | ||
| windows-release | OK | 230 | ||
| windows-oldrel | OK | 235 | ||
| wasm-release | OK | 182 |
Exports:add_nodedag_from_datadag2matrixdoempty_daglong2start_stopmatrix2dagnetnetworknetwork_tdnodenode_aalennode_aftregnode_ahregnode_binomialnode_competing_eventsnode_conditional_distrnode_conditional_probnode_coxnode_ehregnode_gaussiannode_identitynode_mixturenode_multinomialnode_negative_binomialnode_next_timenode_poissonnode_polrnode_poregnode_tdnode_time_to_eventnode_ypregnode_zeroinflrbernoullircategoricalrconstantrsamplertexpsim_discrete_eventsim_discrete_timesim_from_dagsim_n_datasetssim2data
Dependencies:base64encbootcachemclicpp11curldagittydata.tabledplyrfarverfastmapforcatsgenericsggdagggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtableigraphisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmemoisepillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadilloRcppParallelRfastrlangS7scalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8V8vctrsviridisviridisLitewithrzigg
Last update: 2026-05-14
Started: 2025-06-05
Last update: 2026-05-14
Started: 2025-07-30
Last update: 2026-05-14
Started: 2022-09-19
Last update: 2026-05-14
Started: 2025-12-22
Last update: 2026-05-14
Started: 2023-01-26
Last update: 2026-01-07
Started: 2025-03-18
Last update: 2026-01-07
Started: 2025-05-04
Last update: 2025-07-30
Started: 2022-09-19
Last update: 2025-03-27
Started: 2024-07-16