getNdPD {treeman} | R Documentation |
Return summed value of all descending spns
getNdPD(tree, id)
tree |
|
id |
node id |
Sums the lengths of all descending branches from a node.
getNdsPD
,
https://github.com/DomBennett/treeman/wiki/get-methods
library(treeman) tree <- randTree(10) getNdPD(tree, id='n1') # return PD of n1 which in this case is for the whole tree