orientPDAG: Orient Edges in PDAG.

Description Usage Arguments Examples

View source: R/dagitty.r

Description

Orients as many edges as possible in a partially directed acyclic graph (PDAG) by converting induced subgraphs X -> Y – Z to X -> Y -> Z.

Usage

1

Arguments

x

the input graph, a PDAG.

Examples

1
orientPDAG( "pdag { x -> y -- z }" )

Example output

pdag {
x
y
z
x -> y
y -> z
}

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