Adding nodes to a growing DAG object, as in DAG + node()
. Use either syntax DAG + node()
or add.nodes(DAG = , nodes = node())
. Both give identical results, see the examples in the vignette and below for details.
add.nodes(DAG, nodes)# S3 method for DAG
+(obj1, obj2)
An updated DAG object with new nodes
DAG object
A node or several nodes returned from a call to node
function. If the node(s) under same name(s) already exist, the old node(s) get overwritten.
Object that belongs to either classes: DAG
, DAG.action
or DAG.nodelist
.
Object that belongs to either classes: DAG
, DAG.action
or DAG.nodelist
.
node