powered by
Return node ids for connecting id to kids.
id
getNdPtids(tree, id)
TreeMan object
TreeMan
node id
Returns a vector.
getNdsPtids, getNdPrids, getNdsPrids, https://github.com/DomBennett/treeman/wiki/get-methods
getNdsPtids
getNdPrids
getNdsPrids
# NOT RUN { library(treeman) tree <- randTree(10) # get all nodes from root to tip getNdPtids(tree, id='n1') # }
Run the code above in your browser using DataLab