mean_dist_to_tips: Mean distance from internal nodes to descendant tips

Description Usage Arguments Details Value Examples

View source: R/branch_length_calculations.R

Description

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

Usage

1

Arguments

tree

a phylo class tree object that is binary (see multi2di)

Details

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.

Value

vector (named if internal nodes are named)

Examples

1
2

jsilve24/philr documentation built on Aug. 1, 2019, 5:48 p.m.