Learn R Programming

rsml (version 1.3)

getInsertionAngle: Compute the insertion angle of the root on its parent

Description

Compute the insertion angle of the root on its parent

Usage

getInsertionAngle(parent, current)

Arguments

parent
= the parent root
current
= the current root

Value

the insertion angle, in degree

Examples

Run this code
data(lupin)
r <- lupin$roots[[1]]
r1 <- r$children[[1]]
getInsertionAngle(r, r1)

Run the code above in your browser using DataLab