Learn R Programming

GeneralTree (version 0.0.1)

addSibling: Add a sibling to the current node.

Description

Add a sibling to the current node.

Usage

addSibling(self, private, id, data)

Arguments

self
The point in the tree where the sibling should be added.
private
The private part of the tree.
id
The id of the node that should be added.
data
The data of the node that should be added.

Value

invisible the new node that was created.