Learn R Programming

treestats (version 1.70.8)

tot_path_length: Total path length

Description

The total path length describes the sums of the depths of all vertices of the tree.

Usage

tot_path_length(phy)

Value

Total path length

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.