getInsertionPosition: Compute the insertion of the root on its parent

Description Usage Arguments Value Examples

View source: R/root_functions.R

Description

Compute the insertion of the root on its parent

Usage

1
getInsertionPosition(parent, current)

Arguments

parent

= the parent root

current

= the current root

Value

the insertion position

Examples

1
2
3
4
data(lupin)
r <- lupin$roots[[1]]
r1 <- r$children[[1]]
getInsertionPosition(r, r1)

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