cycle8pam: detects if a cycle exists from a pam matrix

Description Usage Arguments Value Examples

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

Description

(ba) This function returns TRUE or FALSE if at least one cycle is detected within the graph defined by the pam matrix.

Usage

1
cycle8pam(pam)

Arguments

pam

The pam matrix

Value

logical variable (TRUE: at least a cycle, FALSE : no cycle).

Examples

1
2
3
 g4n3k("RESET"); # needed only for R checking, to be forgotten
 papa <- new("pam", rlt=matrix(c(0, 0, 1, 1, 0, 0, 0, 1, 0), 3));
 cycle8pam(papa);

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

Related to cycle8pam in g4n...