is.rootedtree: Is the tree rooted or not

is.rootedtreeR Documentation

Is the tree rooted or not

Description

This function can test if the tree is rooted.

Usage

is.rootedtree(tree)

Arguments

tree

tree string or tree node matrix

Value

The function returns TRUE if the tree is a rooted tree. Otherwise, it returns FALSE.

Author(s)

Liang Liu lliu@uga.edu

See Also

is.clock

Examples

data(dat.unrootedtree)
is.rootedtree(dat.unrootedtree[1])

data(dat.coaltree)
is.rootedtree(dat.coaltree$sptree)

lliu1871/phybase documentation built on April 21, 2024, 3:16 a.m.