Make the nice labels used by print and summary.
Make the nice labels used by print and summary.
## S3 method for class 'rpart' labels(object, digits = 4, minlength = 1L, pretty, collapse = TRUE, ...)
digits |
obvious |
minlength |
0 = don't abbrev factors; 1 = use single letters; 2+= the same arg as the "abbreviate" function |
collapse |
an oddly named argument: FALSE = return a matrix with two columns, containing the labels of the left and right descendants of each node; TRUE = return a vector of 1 column, with the label of the parent |
... |
= other args for abbreviate() |
pretty: |
for historical compatibility: 0 -> minlength = 0; NULL -> minlength = 1; TRUE -> minlength = 4 |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.