Changelog
Source:NEWS.md
simDAG 0.1.1
CRAN release: 2024-03-07
Enhancements
-
node()
andnode_td()
now support character vectors in the ‘name’ argument, allowing easy creation of multiple nodes with the same definition
Bug Fixes
- There was a bug in the
node_time_to_event()
function that lead to theimmunity_duration
parameter being used incorrectly. Since events were still recorded correctly, this was only apparent when usingsave_states="all"
. Works correctly now. - There was a small bug in
dag2matrix()
if the dag object contained only root nodes. In this case, a logical matrix was returned. Now it returns the correct numeric matrix.
New Features
- Added the
sim_n_datasets()
function to generate multiple datasets from a single dag object, possibly using multicore processing
Documentation
- Minor changes to documentation pages
- Minor changes to vignettes
simDAG 0.1.2
Enhancements
- Print underlying structural equations in
summary.DAG()
andsummary.DAG.node()
Bug Fixes
- Fixed a small bug in input checks of the
node_time_to_event()
function, which printed an error when not all arguments toprob_fun
were supplied, even when these arguments had default values