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
formula
argument. 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
output
argument to therbernoulli()
function to allow different output formats. - Change default of
sort_dag
insim_from_dag()
fromTRUE
toFALSE
. - Moved the functionality of the
coerce2factor
andcoerce2numeric
arguments inrcategorical()
,node_multinomial()
andnode_binomial()
to theoutput
argument for a more consistent syntax and easier usage. - It is now allowed to directly supply functions to the
type
argument innode()
andnode_td()
. - Passing optional arguments to the
layout
function inplot.DAG()
is now supported.
Bug Fixes
- The
node_fill
argument of theplot.DAG()
function is no longer being ignored ifmark_td_nodes
was set toTRUE
.
Documentation
- Added a new vignette explaining in detail how the new enhanced formula interface for the
node()
function works.