Learn R Programming

oak (version 0.2.3)

take_branch: Take a branch of a tree

Description

The function take_branch looks for the subtree of .tree whose root is the node identified by .node.

Usage

take_branch(.tree, .node)

# S3 method for rtree take_branch(.tree, .node)

take_node(.node, .tree)

Arguments

.tree

A tree.

.node

A node of .tree.

Value

A tree.