isUltrmtrc: Is tree ultrametric?

View source: R/a.R

isUltrmtrcR Documentation

Is tree ultrametric?

Description

Return TRUE if all tips end at 0, else FALSE.

Usage

isUltrmtrc(tree, tol = 1e-08)

Arguments

tree

TreeMan object

tol

zero tolerance

Details

Returns a boolean. This function works in the background for the ['ultr'] slot in a TreeMan object.

See Also

getLvng, getDcsd

Examples


tree <- randTree(10)
(isUltrmtrc(tree))

ropensci/phylotaR documentation built on July 9, 2023, 3:17 p.m.