Learn R Programming

rsml (version 1.3)

totalLength: Compute the length of the root and its children based on the coordinates of its nodes

Description

Compute the length of the root and its children based on the coordinates of its nodes

Usage

totalLength(obj)

Arguments

obj
of class root

Value

the total lenght of the root and children

Examples

Run this code
data(lupin)
r <- lupin$roots[[1]]
totalLength(r)

Run the code above in your browser using DataLab