oak (version 0.2.1)

is.root: Test if a node is a root of a tree

Description

The function is.root returns TRUE if .node is a root of tree, FALSE otherwise.

Usage

is.root(.node, .tree)

Arguments

.node

A node or node label to be tested.

.tree

A tree

Value

A logical.