Identifies the associations introduced by adjustment for the
variables specified, and returns the DAG with these associations
added. Note that this is called internally by dag.adjust
, which
makes sure that biasing paths are looked for and evaluted afterwards.
Thus, dag.adjustment
should 1.) not be called directly, and
2.) not be called on an already adjusted DAG!
dag.adjustment(dag, A=NULL)
A DAG with A as the adjustment set and the associations introduced by adjustment for A added to the DAG.
The DAG to be adjusted.
The adjustment set to be applied.
Lutz P Breitling <l.breitling@posteo.de>
The adjustment set A specified when calling dag.adjustment
overrules the
adjustment variables that are present in the DAG. To keep these in
the adjustment set, one has to add them to A.
dag.adjust
, find.paths
,
eval.paths