Learn R Programming

gmat (version 0.2.1)

ug_to_dag: Moral DAG from non chordal UG

Description

Find the DAG with no v-structures whose skeleton is a triangulation of a given undirected graph.

Usage

ug_to_dag(ug)

Arguments

ug

An igraph undirected graph.

Value

An igraph acyclic directed graph orientation.