compute.flipped.graph {HEMDAG}R Documentation

Flip graph

Description

Compute a directed graph with edges in the opposite direction.

Usage

compute.flipped.graph(g)

Arguments

g

a graphNEL directed graph

Value

A graph (as an object of class graphNEL) with edges in the opposite direction w.r.t. g.

Examples

data(graph);
g.flipped <- compute.flipped.graph(g);

[Package HEMDAG version 2.7.4 Index]