isUltrmtrc: Is tree ultrametric?

Description Usage Arguments Details See Also Examples

View source: R/get-spcl-methods.R

Description

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

Usage

1
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

1
2
3
library(treeman)
tree <- randTree(10)
(isUltrmtrc(tree))

treeman documentation built on July 8, 2020, 7:28 p.m.