I processed rpart( ) on the same dataset. One did not use the control parameter "minsplit", but the other one did. I do not understand why I got the different first node in two processes. My understanding is that the "minsplit" will only extend the branches of the tree, but it should not change the structure of the tree indicated by the significant predictors. Please correct me if my understanding is not right and explain the reason of two different results. Thanks!
1st method - without "minsplit":
rt <- rpart(SO2~Temp+Manuf+Pop+Wind+Precip+Days, data=usair, method="anova") par(xpd=NA) plot(rt) text(rt, use.n=TRUE, all=TRUE)
2nd method - with "minsplit":
rt <- rpart(SO2~Temp+Manuf+Pop+Wind+Precip+Days, minsplit=10, data=usair, method="anova")
par(xpd=NA)
plot(rt)
text(rt, use.n=TRUE, all=TRUE)