cutTree: cutTree

Description Usage Arguments Details Examples

Description

Cut a single split from your tree (only possible on the lowest level of the tree).

Usage

1
cutTree(tree.obj, cut.point)

Arguments

tree.obj

Tree object, on which the cut will be performed with the given cut point.

cut.point

(integer) non-negative numeric; Node ID of parent node at where you want to cut the tree (has to be the parent node of two leafs)

Details

Please note that it is only possible to cut at the lowest level. If you want to cut on a higher level, you have to cut multiple times.

Examples

1
cutTree(tree.obj = tree, cut.point = 3)

IntTreeR/IntTreeR documentation built on May 7, 2019, 6:38 a.m.