simDAG 0.2.1
Enhancements
- External variables may now be used in the formula interface using
eval()calls. - Added the
remove_not_at_riskargument to thesim2data()function. - Change default of
t0_sort_daginsim_discrete_time()fromTRUEtoFALSEfor more consistency withsim_from_dag().
Bug Fixes
- Using
sim2data()with time-dependent nodes of typenode_competing_events()no longer results in an unwarranted error message. - Using the column name
"time"in thetimeargument oflong2start_stop()now works properly.
New Features
- Added the
node_identity()function to allow users to directly calculate nodes as an R expression of other nodes without the need to define a new function.
Documentation
- Added more examples in the formula vignette.