Description Usage Arguments Value Examples
Get the ancestors of a node
1 |
id |
numeric ids of nodes. |
tree |
a |
n |
number of levels to look up; n=1 gives the parent, n=2 gives the grand-parent, etc. |
A vector of ids of the ancestors of the focus node(s).
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.