Hi all, I am a beginar user of R and try to do some CART analysis with it. With "rpart" we can get several terminals and draw it in the TREE plot. Now I am trying to draw a plot like this: x-axis is each terminal's value, and y-axis is those observe values. Does anyone has idea what gramma should I use? Thanks in advance. Sunny [[alternative HTML version deleted]]
---------begin included message ----------- With "rpart" we can get several terminals and draw it in the TREE plot. Now I am trying to draw a plot like this: x-axis is each terminal's value, and y-axis is those observe values. Does anyone has idea what gramma should I use? Thanks in advance. -------------end -------------- It sounds like you want to plot predicted versus observed. fit <- rpart(y ~ ..... plot(predict(fit), y)