orientPDAG {dagitty}R Documentation

Orient Edges in PDAG.

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

orientPDAG(x)

Arguments

x

the input graph, a PDAG.

Examples

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

[Package dagitty version 0.3-4 Index]