getNdPrids | R Documentation |
Return node ids for connecting id
to root.
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
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.