Description Usage Arguments Value Examples

Extracts edge information from the input graph.

1 | ```
edges(x)
``` |

`x` |
the input graph, of any type. |

a data frame with the following variables:

v name of the start node.

w name of the end node. For symmetric edges (bidirected and undirected), the order of start and end node is arbitrary.

e type of edge. Can be one of

`"->"`

,`"<->"`

and`"--"`

.x X coordinate for a control point. If this is not

`NA`

, then the edge is drawn as an`xspline`

through the start point, this control point, and the end point. This is especially important for cases where there is more than one edge between two variables (for instance, both a directed and a bidirected edge).y Y coordinate for a control point.

1 2 | ```
## Which kinds of edges are used in the Shrier example?
levels( edges( getExample("Shrier") )$e )
``` |

dagitty documentation built on May 21, 2017, 3:25 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.