Modify terminal edge lengths to create "exactly" (see Details) equal tip heights (sum of edge lengths from root to tip)
forceEqualTipHeights(phy, baseline = "mean")
An object of class phylo
.
A character string giving a function to calculate the
baseline tip height, e.g. "min"
, "max"
or "mean"
.
An object of class phylo
with changed terminal
edge lengths.
What is "exactly" equal depends on the precision of the system
(.Machine
); in any case the resulting phylogeny will pass
is.ultrametric
with default arguments.