forceEqualTipHeights {ips} | R Documentation |
Equal Tip Heights
Description
Modify terminal edge lengths to create "exactly" (see Details) equal tip heights (sum of edge lengths from root to tip)
Usage
forceEqualTipHeights(phy, baseline = "mean")
Arguments
phy |
An object of class |
baseline |
A character string giving a function to calculate the
baseline tip height, e.g. |
Details
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.
Value
An object of class phylo
with changed terminal
edge lengths.
Note
forceEqualTipHeights
is only intended to correct small rounding
errors in edge lengths, not to make an additive phylogeny ultrametric. For
the latter, see e.g. chronos
.
See Also
[Package ips version 0.0.12 Index]