Last chance! 50% off unlimited learning
Sale ends in
Return node ids for connecting ids
to kids.
getNdsPtids(tree, ids, parallel = FALSE, progress = "none")
TreeMan
object
vector of node ids
logical, make parallel?
name of the progress bar to use, see create_progress_bar
Returns a list, parallizable.
getNdPtids
,
getNdPrids
,
getNdsPrids
,
https://github.com/DomBennett/treeman/wiki/get-methods
# NOT RUN {
library(treeman)
tree <- randTree(10)
# get all nodes to tip for all nodes
getNdsPtids(tree, ids=tree['nds'])
# }
Run the code above in your browser using DataLab