View source: R/branch_length_calculations.R
mean_dist_to_tips | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.