Learn R Programming

tree (version 1.0-45)

Classification and Regression Trees

Description

Classification and regression trees.

Copy Link

Version

Install

install.packages('tree')

Monthly Downloads

7,845

Version

1.0-45

License

GPL-2 | GPL-3

Maintainer

Brian Ripley

Last Published

August 18th, 2025

Functions in tree (1.0-45)

cv.tree

Cross-validation for Choosing Tree Complexity
predict.tree

Predictions from a Fitted Tree Object
plot.tree

Plot a Tree Object
plot.tree.sequence

Plot a Tree Sequence
snip.tree

Snip Parts of Tree Objects
na.tree.replace

Replace NAs in Predictor Variables
prune.tree

Cost-complexity Pruning of Tree Object
deviance.tree

Extract Deviance from a Tree Object
misclass.tree

Misclassifications by a Classification Tree
partition.tree

Plot the Partitions of a simple Tree Model
tree.control

Select Parameters for Tree
tree

Fit a Classification or Regression Tree
tile.tree

Add Class Barcharts to a Classification Tree Plot
text.tree

Annotate a Tree Plot
tree.screens

Split Screen for Plotting Trees