rpTree: Build a random-partition tree.

Description Usage Arguments Value Examples

Description

Build a random-partition tree.

Usage

1
rpTree(X, max.depth = 5)

Arguments

X

A data frame whose columns correspond to the variables and whose rows correspond to the data points.

max.depth

A number specifying the total depth of the tree.

Value

A data frame describing the nodes of the tree and which data points are included in the node.

Examples

1
rpTree(iris[,-5], max.depth = 5)

rlbarter/partitions documentation built on May 27, 2019, 9:28 a.m.