Learn R Programming

treeman (version 1.1.4)

isUltrmtrc: 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

Run this code
# NOT RUN {
library(treeman)
tree <- randTree(10)
(isUltrmtrc(tree))
# }

Run the code above in your browser using DataLab