tot_path_length: Total path length

View source: R/tot_path.R

tot_path_lengthR Documentation

Total path length

Description

The total path length describes the sums of the depths of all vertices of the tree. This can also be calculated as the sum of the total internal path and the sackin index.

Usage

tot_path_length(phy)

Arguments

phy

phylo object or ltable

Value

Total path length

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.


treestats documentation built on Aug. 24, 2026, 5:09 p.m.