getNdPtids {treeman} | R Documentation |
Return node ids for connecting id
to kids.
getNdPtids(tree, id)
tree |
|
id |
node id |
Returns a vector.
getNdsPtids
,
getNdPrids
,
getNdsPrids
,
https://github.com/DomBennett/treeman/wiki/get-methods
library(treeman) tree <- randTree(10) # get all nodes from root to tip getNdPtids(tree, id='n1')