rpart
object.labels.rpart(object, pretty = TRUE, collapse = TRUE)
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.NULL
signifies using
elements of letters to represent the different factTRUE
(default), the returned value is a vector of labels
for each node, otherwise a matrix of left and right split labels is
returned.collapse=RUET
) 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