Return summed value of all descending spns
Examples
tree <- randTree(10)
getNdPD(tree, id = "n1") # return PD of n1 which in this case is for the whole tree
#> [1] 5.626307
Return summed value of all descending spns
tree <- randTree(10)
getNdPD(tree, id = "n1") # return PD of n1 which in this case is for the whole tree
#> [1] 5.626307