Description Usage Arguments Details Value Examples

View source: R/branch_length_calculations.R

Calculates the mean distance from each internal node to its descendant tips

1 | ```
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)

1 2 | ```
tr <- named_rtree(5)
mean_dist_to_tips(tr)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.