Arguments
object
fitted model object of class rpart
. This is assumed to be the
result of some function that produces an object with the same named
components as that returned by the rpart
function.
digits
the number of digits to be used for numeric values.
All of the rpart
functions that call labels
explicitly set this value, with options("digits")
as the default.
minlength
the minimum length for abbreviation of character or factor variables.
If 0 no abbreviation is done; if 1 then single English letters are
used, first lower case than upper case (with a maximum of 52
levels). If the value is greater than 1, the
pretty
an argument included for compatibility with the tree package:
pretty = 0
implies minlength = 0
,
pretty = NULL
implies minlength = 1
, and
pretty = TRUE
implies minlengt
collapse
logical. The returned set of labels is always of the same length as
the number of nodes in the tree.
If collapse = TRUE
(default),
the returned value is a vector of labels for the branch leading into
each node, with "root"
...
optional arguments to abbreviate
.