Test if a Tree is Ultrametric
This function computes the distances from each tip to the root: if the variance of these distances is null, the tree is considered as ultrametric.
is.ultrametric(phy, tol = .Machine$double.eps^0.5)
- an object of class
- a numeric >= 0, variation below this value are considered non-significant (see details).
The default value for
tol is based on the numerical
characteristics of the machine Ris running on.
- a logical:
TRUEif the tree is ultrametric,