Learn R Programming

OpasnetUtils (version 1.3)

odag: Directed Acyclic Graph Visualization of Ovariables

Description

Makes a directed acyclic graph (DAG) out of all ovariables and their dependencies in the global environment.

Usage

odag(plotting = TRUE, ...)

Arguments

plotting

plots the DAG if TRUE, else returns graph.data.frame

...

ignored

Value

Nothing or a graph.data.frame.

Details

Finds all ovariables in .GlobalEnv, finds edges (dependencies) between them and uses igraph to produce a DAG.

See also: http://en.opasnet.org/