Learn R Programming

dagR (version 1.2.1)

rm.arc: Remove an arc from a DAG.

Description

Conveniently remove an arc from an existing DAG.

Usage

rm.arc(dag, arc)

Value

A DAG with the arc specified removed along with the corresponding attributes like arc types, curves, and path evaluation variables.

Arguments

dag

The DAG from which to remove the arc.

arc

A single integer, indicating which arc is to be removed (refering to the respective row of the dag$arc matrix).

Author

Lutz P Breitling <l.breitling@posteo.de>

See Also

add.arc, add.node, rm.node