.growTree {wrMisc}R Documentation

Grow tree

Description

This function allows growing tree-like structures (data.tree objects)

Usage

.growTree(tm, setX, addToObj = NULL)

Arguments

tm

(list) main input, $disDat .. matrix with integer start & end sites for fragments; $lo (logical) which fragments may be grown; $start (integer) index for which line of $disDat to start; $it numeric version of $lo; $preN for previous tree objects towards root; $iter for iterator (starting at 1))

setX

.. data.tree object (main obj from root)

addToObj

.. data.tree object (branch on which to add new branches/nodes)

Value

list

See Also

buildTree

Examples

.datSlope(c(3:6))

[Package wrMisc version 1.15.1 Index]