mean_dist_to_tips {philr} | R Documentation |
Calculates the mean distance from each internal node to its descendant tips
mean_dist_to_tips(tree)
tree |
a |
This is a function used by calculate.blw
when
method='mean.descendants'
, there this function is called twice, once
for each direct child of a given internal node and the results are summed
for each node.
vector (named if internal nodes are named)
tr <- named_rtree(5) mean_dist_to_tips(tr)