edges: Graph Edges

Description Usage Arguments Value Examples

View source: R/dagitty.r

Description

Extracts edge information from the input graph.

Usage

1
edges(x)

Arguments

x

the input graph, of any type.

Value

a data frame with the following variables:

Examples

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

Example output

[1] "->"

dagitty documentation built on Jan. 21, 2021, 5:07 p.m.