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 class 'DAG':
+(obj1, obj2)
node function. If the node(s) under same name(s) already exist, the old node(s) get overwritten.DAG, DAG.action or DAG.nodelist.DAG, DAG.action or DAG.nodelist.node