Description Usage Arguments Value Examples
finding the "parents"; recovering the sequence of node ids from the given leaf id. using prevCond function recursively, we can find the family ancestry
1 | id_root(tree, id)
|
tree |
a single tree object obtained from using |
id |
index of the tree |
a vector containing the entire "ancestry"
1 | # id_root(tree, id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.