simDAG: Simulate Data from a DAG and Associated Node Information

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 and more. Also includes a comprehensive framework for discrete-time simulation, which can generate even more complex longitudinal data.

Version: 0.2.0
Imports: data.table (≥ 1.15.0), Rfast, rlang, igraph
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), vdiffr (≥ 1.0.0), ggplot2, ggforce, MASS, covr, foreach, doSNOW, doRNG, parallel
Published: 2024-09-03
DOI: 10.32614/CRAN.package.simDAG
Author: Robin Denz [aut, cre], Katharina Meiszl [aut]
Maintainer: Robin Denz <robin.denz at rub.de>
Contact: <robin.denz@rub.de>
BugReports: https://github.com/RobinDenz1/siMDAG/issues
License: GPL (≥ 3)
URL: https://github.com/RobinDenz1/simDAG, https://robindenz1.github.io/simDAG/
NeedsCompilation: no
Citation: simDAG citation info
Materials: README NEWS
CRAN checks: simDAG results

Documentation:

Reference manual: simDAG.pdf
Vignettes: Simulating Covid-19 Vaccine Data using a Discrete-Time Simulation (source, R code)
Simulating Data using a Discrete-Time Approach (source, R code)
Simulating Data from a known DAG (source, R code)
Specifying Formulas in a DAG (source, R code)

Downloads:

Package source: simDAG_0.2.0.tar.gz
Windows binaries: r-devel: simDAG_0.2.0.zip, r-release: simDAG_0.2.0.zip, r-oldrel: simDAG_0.2.0.zip
macOS binaries: r-release (arm64): simDAG_0.2.0.tgz, r-oldrel (arm64): simDAG_0.2.0.tgz, r-release (x86_64): simDAG_0.2.0.tgz, r-oldrel (x86_64): simDAG_0.2.0.tgz
Old sources: simDAG archive

Linking:

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