January 2010
Beginner
634 pages
19h 50m
English
This package provides functions for recursive partitioning and regression trees.
| Function | Description |
|---|---|
| meanvar | Creates a plot on the current graphics device of the deviance of the node divided by the number of observations at the node. Also returns the node number. |
| na.rpart | Handles missing values in an rpart object. |
| path.rpart | Returns a names list, where each element contains the splits on the path from the root to the selected nodes. |
| plotcp | Gives a visual representation of the cross-validation
results in an rpart
object. |
| post | Generates a PostScript presentation plot of an rpart object. |
| printcp | Displays the cp
table for a fitted rpart
object. |
| prune | Determines a nested sequence of subtrees of the
supplied rpart object by
recursively snipping off
the least important splits, based on the complexity parameter
(cp). |
| rpart | Fits an rpart
model. |
| rpart.control | Various parameters that control aspects of the rpart fit. |
| rpconvert | Rpart objects changed (slightly) in their internal format in order to accommodate the changes for user-written split functions. This routine updates an old object to the new format. |
| rsq.rpart | Produces two plots. The first plots the r-square (apparent and apparent − from cross-validation) versus the number of splits. The second plots the relative error(cross-validation) +/− 1 − SE from cross-validation versus the number of splits. |
| snip.rpart | Creates a “snipped” rpart object, containing the nodes that remain after selected subtrees have been snipped off. The user can snip nodes ... |
Read now
Unlock full access