addChildToRoot: Add a child root (lateral) to an existing root

Description Usage Arguments Value Author(s) Examples

View source: R/root_functions.R

Description

Add a child root (lateral) to an existing root

Usage

1
addChildToRoot(current, child)

Arguments

current

= the current root

child

= the child root to attach

Value

the current root, with the additional child attached

Author(s)

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

Examples

1
2
3
4
data(lupin)
current <- lupin$roots[[1]]
child <- current$children[[1]]
current <- addChildToRoot(current, child)

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

Related to addChildToRoot in rsml...