Description
Root constructor
Usage
root(nodes = NULL, parent = "", children = NULL, id = "", insertion = NULL, insertion_angle = NULL)
Arguments
nodes
= the nodes composing the root. Can be null
parent
= the identifier of the root parent. Can be null
children
= vector of children roots (root objects)
id
= root unique identifier
insertion
= insertion position of the root on its parent. Can be null is no parent
insertion_angle
= insertion angle of the root on its parent. Can be null is no parent
Examples
Run this coder <- root()
n <- node(1, 1)
r <- root(n)
Run the code above in your browser using DataLab