Description Usage Arguments Value Examples
The function parent
returns the parent
of a node in a given tree.
If the node is not found in the tree or has no parent,
the empty tree is returned.
1 2 3 4 5 6 | parent(.node, .tree, degree = 1L)
## S3 method for class 'rtree'
parent(.node, .tree, degree = 1L)
has.parent(.node, .tree)
|
.node |
node or character. The node or node label considered. |
.tree |
A tree. |
degree |
integer. Currently not used. |
A node.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.