oak (version 0.2.1)

descendants: Descendants of a node

Description

The function descendants returns the descendants of a node in a given tree.

Usage

descendants(.node, .tree, include_node = FALSE)

# S3 method for rtree descendants(.node, .tree, include_node = FALSE)

Arguments

.node

node or character. The node or node label considered.

.tree

A tree.

include_node

logical. Currently not used.

Value

A (possibly empty) list of nodes.