direct_forest: Direct an undirected graph.

Description Usage Arguments Value

View source: R/frontend-anb.r

Description

Starting from a root not, directs all arcs away from it and applies the same, recursively to its children and descendants. Produces a directed forest.

Usage

1
direct_forest(g, root = NULL)

Arguments

g

An undirected graph.

root

A character. Optional tree root.

Value

A directed graph


bnclassify documentation built on March 26, 2020, 6:24 p.m.