Enhancements
node()
and node_td()
now support character vectors in the ‘name’ argument, allowing easy creation of multiple nodes with the same definitionBug Fixes
node_time_to_event()
function that lead to the immunity_duration
parameter being used incorrectly. Since events were still recorded correctly, this was only apparent when using save_states="all"
. Works correctly now.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
sim_n_datasets()
function to generate multiple datasets from a single dag object, possibly using multicore processingDocumentation