Description Usage Arguments Details See Also Examples
View source: R/get-nd-methods.R
Return node ids for connecting id
to root.
1 | getNdPrids(tree, id)
|
tree |
|
id |
node id |
Returns a vector. IDs are returned order from node ID to root.
getNdsPrids
,
getNdPtids
,
getNdsPtids
,
https://github.com/DomBennett/treeman/wiki/get-methods
1 2 3 4 | library(treeman)
tree <- randTree(10)
# get all nodes to root
getNdPrids(tree, id='t1')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.