root: Root constructor

Description Usage Arguments Value Author(s) Examples

View source: R/root_functions.R

Description

Root constructor

Usage

1
2
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

Value

the root

Author(s)

Guillaume Lobet - guillaume.lobet(at)ulg.ac.be

Examples

1
2
3
4
r <- root()

n <- node(1, 1)
r <- root(n)

rsml documentation built on May 30, 2017, 12:41 a.m.