Learn R Programming

⚠️There's a newer version (1.0-45) of this package.Take me there.

tree (version 1.0-13)

Classification and regression trees

Description

Classification and regression trees.

Copy Link

Version

Install

install.packages('tree')

Monthly Downloads

9,838

Version

1.0-13

License

GPL (version 2 or later)

Maintainer

Brian Ripley

Last Published

August 18th, 2025

Functions in tree (1.0-13)

plot.tree

Plot a Tree Object
misclass.tree

Misclassifications by a Classification Tree
snip.tree

Snip Parts of Tree Objects
prune.tree

Cost-complexity Pruning of Tree Object
plot.tree.sequence

Plot a Tree Sequence
tree-internal

Internal Functions Used by the `tree' Package
predict.tree

Predictions from a Fitted Tree Object
cv.tree

Cross-validation for Choosing Tree Complexity
text.tree

Annotate a Tree Plot
partition.tree

Plot the Partitions of a simple Tree Model
na.tree.replace

Replace `NA's in Predictor Variables
tree.control

Select Parameters for Tree
tree.screens

Split Screen for Plotting Trees
tile.tree

Add Class Barplots to a Classification Tree Plot
deviance.tree

Extract Deviance from a Tree Object
tree

Fit a Classification or Regression Tree