rmar4gn: removes a series of arcs from a gn object

Description Usage Arguments Value Examples

View source: R/f0.g4n1.code.r

Description

Removing the arcs associated to a subset of nodes, but keeping the nodes (contrary to rmnd4gn)

Usage

1
rmar4gn(gn, ion)

Arguments

gn

object gn defining the pruned graph

ion

vector of nodes the arc of which must be be removed, either the names or the internal identification.

Value

The reduced object gn

Examples

1
2
3
4
 g4n3k("RESET"); # needed only for R checking, to be forgotten
 uu <- g4n.gn1;
 print(uu@arc);
 print(rmar4gn(uu, "A")@arc);

g4n documentation built on May 2, 2019, 5:47 p.m.

Related to rmar4gn in g4n...