This function provides labels for the branches of an rpart
tree.
1 2 
object 
fitted model object of class 
digits 
the number of digits to be used for numeric values.
All of the 
minlength 
the minimum length for abbreviation of character or factor variables.
If 
pretty 
an argument included for compatibility with the tree package:

collapse 
logical. The returned set of labels is always of the same length as the number of nodes in the tree. If If 
... 
optional arguments to 
Vector of split labels (collapse = TRUE
) or matrix of left and
right splits (collapse = FALSE
) for the supplied rpart
object. This function is called by printing methods for rpart
and is not intended to be called directly by the users.
abbreviate
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.