rmnd4gn: removes a series of nodes from a gn object

Description Usage Arguments Details Value Examples

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

Description

Removing the nodes and arcs associated to them, adjusting the slot arc consequently. Awaiting for the generalization of item in /gn/s, only node /gn/, i.e. gn@item='n' are accepted here.

Usage

1
rmnd4gn(gn, nk)

Arguments

gn

/gn/ object to be modified.

nk

vector of number nodes to remove. Must be given in 'nk' form (see nv2ion).

Details

the initial @nom slot is reduced.

Value

The reduced object gn

Examples

1
2
 g4n3k("RESET"); # needed only for R checking, to be forgotten
 print(rmnd4gn(g4n.gn1, 1));

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

Related to rmnd4gn in g4n...