simDAG
Simulate Data from a (Time-Dependent) Causal DAG
simDAG grew a second simulation engine, then spent two releases surviving upstream breakage.
◆Recent moves
- 18d ago
CRAN-retention patch for upstream lme4 breakage
A patch made solely to keep the package on CRAN after changes in lme4 broke simr. The maintainer notes the real fix is already available upstream from GitHub.
View source ↗ - 3mo ago
Arbitrary baseline hazards connect node_cox() to discrete-event sims
The 1.0 milestone allows arbitrary baseline hazard functions in node_cox(), which connects continuous time-dependent hazards to the discrete-event engine added in 0.5.0. The two simulation paths stop being separate options and start composing.
View source ↗ - 4mo ago
Test-only fix for an upstream simr update
A release with no functional change, made only to fix tests failing on CRAN after an update to simr. The second such release in this window.
View source ↗ - 5mo ago
Adds node_polr() for ordinal outcomes and rsurv node support
Adds an ordered logistic and probit node, extending generation to ordinal outcomes, and accepts the rsurv package's time-to-event nodes in discrete-event simulation. Ties in sim_discrete_event() are now handled automatically rather than through a user argument.
View source ↗ - 7mo ago
Adds continuous-time discrete-event simulation
⚡ SPARKThe release that gave simDAG a second way to simulate. Everything since has been either extending the node library to feed this engine or connecting it to the older discrete-time path, which is what 1.0.0 completed.
View source ↗ - 10mo ago
Adds link functions to node types and fixes a broken seed default
Adds link function arguments across five node types and direct conversion to dagitty objects. Also fixes a seed default that silently resolved to zero on every call, meaning prior multi-dataset simulations were less random than users expected.
View source ↗