oak (version 0.2.1)

is.rooted: Test if a tree has a root

Description

The function is.rooted returns TRUE if .tree is a rooted tree, FALSE otherwise.

Usage

is.rooted(.tree)

Arguments

.tree

A tree to be tested.

Value

A logical.