powered by
Return summed value of all descending spns
getNdsPD(tree, ids, parallel = FALSE, progress = "none")
TreeMan object
TreeMan
vector of node ids
logical, make parallel?
name of the progress bar to use, see create_progress_bar
create_progress_bar
Sums the lengths of all descending branches from a node.
getNdPD, https://github.com/DomBennett/treeman/wiki/get-methods
getNdPD
# NOT RUN { library(treeman) tree <- randTree(10) getNdsPD(tree, ids=tree['all']) # return PD of all ids # }
Run the code above in your browser using DataLab