add.edge: An Edge Addition

Description Usage Arguments Value See Also Examples

Description

Add a directed edge between two vertices and check for acycliclity.

Usage

1
add.edge(nw, a, b)

Arguments

nw

mhnet network

a

First vertex (an arrow pointing from)

b

Second vertex (an arrow pointing from)

Value

mhnet network

See Also

remove.edge, reverse.edge

Examples

1
2
3
nw <-  empty.network(LETTERS[1:4])
( nw <- add.edge(nw, "A", "D") )
try(add.edge(nw, "D", "A"))

simecek/mhnet documentation built on May 29, 2019, 10:01 p.m.