simDAG 1.0.0
New features
- Allow arbitrary baseline hazard functions in
node_cox(). This also makes it possible to perform discrete-event simulations usingsim_discrete_event()with variables that have continuous time-dependent baseline hazards, by using themodelargument.
Enhancements
- Added the
all_levelsargument to thercategorical()function to allow users to keep all levels, even when some never occur in the generated data. - When defining custom node generation functions for custom nodes required for the
dag_from_data()function, additional arguments are now supported.
Bug Fixes
- Fixed a bug that occurred when using
dag_from_data()with categorical parents in nodes based on generalized linear models and negative binomial regression models.
Documentation
- Added the official citation information for the newly published Journal of Statistical Software paper.