Description Usage Arguments References Examples
Removes every first edge on a proper causal path from x
.
If x
is a MAG or PAG, then only “visible” directed
edges are removed (Zhang, 2008).
1 |
x |
the input graph, a DAG, MAG, PDAG, or PAG. |
J. Zhang (2008), Causal Reasoning with Ancestral Graphs. Journal of Machine Learning Research 9: 1437-1474.
1 2 3 4 5 6 7 8 | g <- dagitty( "dag { x <-> m <-> y <- x }" )
backDoorGraph( g ) # x->y edge is removed
g <- dagitty( "mag { x <-> m <-> y <- x }" )
backDoorGraph( g ) # x->y edge is not removed
g <- dagitty( "mag { x <-> m <-> y <- x <- i }" )
backDoorGraph( g ) # x->y edge is removed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.