Learn R Programming

dagitty (version 0.3-4)

orientPDAG: 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

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

Run the code above in your browser using DataLab