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.

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 Sept. 14, 2024, 9:08 a.m.