addNodeToRoot: Add a node to an existing root

Description Usage Arguments Value Author(s) Examples

View source: R/root_functions.R

Description

Add a node to an existing root

Usage

1
addNodeToRoot(ro, no)

Arguments

ro

= the current root

no

= the current node

Value

the root, with the added node

Author(s)

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

Examples

1
2
3
n <- node(1, 1)
r <- root()
r <- addNodeToRoot(r, n)

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

Related to addNodeToRoot in rsml...