Learn R Programming

treestats (version 1.70.5)

avg_vert_depth: Average vertex depth metric

Description

The average vertex depth metric, measures the average path (in edges), between the tips and the root.

Usage

avg_vert_depth(phy)

Value

Average depth (in number of edges)

Arguments

phy

phylo object or ltable

References

C. Colijn and J. Gardy. Phylogenetic tree shapes resolve disease transmission patterns. Evolution, Medicine, and Public Health, 2014(1):96-108, 2014. ISSN 2050-6201. doi: 10.1093/emph/eou018.