cycles4gn: reduces the graph to the portion with cycles

Description Usage Arguments Value Examples

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

Description

Just removing from the graph those nodes (and associated arcs) which cannot belong to a cycle because they are extreme (either without parent or without children).

Usage

1

Arguments

gn

object gn defining the graph

Value

The reduced object gn

Examples

1
2
 g4n3k("RESET"); # needed only for R checking, to be forgotten
 cycles4gn(g4n.gn7); # returns the null /gn/

g4n documentation built on May 21, 2017, 1:40 a.m.

Search within the g4n package
Search all R packages, documentation and source code