Description Usage Arguments Value Methods (by class) See Also
The generic method definition for getting child node ids.
1 2 3 4 5 6 7 | get_child_ids(x, node_num)
## S4 method for signature 'TreeHarp'
get_child_ids(x, node_num)
## S4 method for signature 'list'
get_child_ids(x, node_num)
|
x |
An object of class TreeHarp. |
node_num |
An integer, length 1. This the node whose children we are after. If the specified node is a leaf, the NULL is returned. |
An integer vector, indicating the children node ids.
TreeHarp
: Obtain child nodes.
Allows user to extract the child nodes from a specified node from TreeHarp object.
list
: Obtain child nodes.
Allows user to extract the child nodes from a specified node from an adjacency list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.