R: Is tree ultrametric?

isUltrmtrc {treeman} | R 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

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

[Package treeman version 1.1.4 Index]