ends8gn: returns the root and leaf nodes/variables of a gn

Description Usage Arguments Details Value Examples

Description

From a /gn/ object, the set of nodes/variables is partitioned in four classes:
(i) the root and leaf nodes/variables,
(ii) the root but not leaf nodes/variables,
(iii) the leaf but not root nodes/variables,
(iv) the remaining nodes/variables.
Of course, some of the classes can be empty.

Usage

1
ends8gn(gn)

Arguments

gn

The gn.

Details

No check about gn

Value

a list of four named numeric vectors with the iin of the corresponding nodes/variables and the names as names. The four items are \$RaL (root and leaf), \$RwL (root but not leaf), \$LwR (leaf but not root) and \$rema (the remaining nodes/variables).

Examples

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


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.