Skip to content

simDAG 1.0.0

Choose a tag to compare

@RobinDenz1 RobinDenz1 released this 15 May 12:26

New features

  • Allow arbitrary baseline hazard functions in node_cox(). This also makes it possible to perform discrete-event simulations using sim_discrete_event() with variables that have continuous time-dependent baseline hazards, by using the model argument.

Enhancements

  • Added the all_levels argument to the rcategorical() 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.