simDAG 0.2.0
New Features
- Added a new enhanced formula interface, which allows users to directly type out the underlying structural equations for many node types. This replaces the old
formulaargument. Standard formulas (without betas and intercepts) are still supported, but no longer mentioned in the documentation and will be deprecated in future versions.
Enhancements
- Added the
outputargument to therbernoulli()function to allow different output formats. - Change default of
sort_daginsim_from_dag()fromTRUEtoFALSE. - Moved the functionality of the
coerce2factorandcoerce2numericarguments inrcategorical(),node_multinomial()andnode_binomial()to theoutputargument for a more consistent syntax and easier usage. - It is now allowed to directly supply functions to the
typeargument innode()andnode_td(). - Passing optional arguments to the
layoutfunction inplot.DAG()is now supported.
Bug Fixes
- The
node_fillargument of theplot.DAG()function is no longer being ignored ifmark_td_nodeswas set toTRUE.
Documentation
- Added a new vignette explaining in detail how the new enhanced formula interface for the
node()function works.