descendants: Descendants of a node

Description Usage Arguments Value

View source: R/descendants.R

Description

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

Usage

1
2
3
4
descendants(.node, .tree, include_node = FALSE)

## S3 method for class '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.


oak documentation built on May 1, 2019, 9:13 p.m.