Displaying 1 result from an estimated 1 matches for "b78abb50".
2009 Dec 07
2
problem in labeling the nodes of tree drawn by rpart
Hi all,
I used rpart to fit a model, where the covariates in the model are
categorical variables.
Then I plotted the tree (mytree) and used the command "text" to add labels
to the tree.
In the nodes of the tree, the values of the covariates are represented with
a, b or c.
Is there a way to show the real value(s) of the variable in the nodes
instead of a, b or c ?
I found that the