Learn R Programming

oak (version 0.2.3)

Nodes: Nodes Class

Description

Nodes class

Usage

Nodes

Arguments

Format

An object of class R6ClassGenerator of length 24.

Fields

labels

character. A vector of labels for each node. The labels must be part of the tree's labels.

tree

rtree. The tree where the nodes belong to.

...

Additional parameters (currently not used).

Methods

get_labels()

Get labels of the nodes

get_tree()

Get the tree attached to the nodes

set_tree(tree)

Set the tree

keep(i)

See Also

Tree and Node in this package.