Description Usage Arguments Details Value Examples
Returns the parents/children of all nodes (or all variables according
to gn@item
) of 'gn'.
1 | neighbours8gn(gn, what="parents")
|
gn |
the gn object. |
what |
either |
Parents means direct parents; children means direct children
A list of character vectors containing the names of the parents, each component of the list is associate to an item (node or variable). When there is no parent, character(0) is returned.
1 2 3 | g4n3k("RESET"); # needed only for R checking, to be forgotten
neighbours8gn(g4n.gn7, "parents");
neighbours8gn(g4n.gn7, "children");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.