Nathalia Machado
2012-Mar-06 18:54 UTC
[R] Classification tree - Uniform vertical spacing of the nodes
Hello everyone! I'm working with Decision tree and I have doubt about one of the arguments of "plot.rpart" function: When we use "uniform=F", the vertical spacing of nodes will be proportional to the error in the fit. But, I want to build a scale next my classif tree to show it. So, how could I access this values of error to make possible I build this scale? For example: fit <- rpart(Price ~ Mileage + Type + Country, cu.summary) plot(fit, uniform=F) text(fit, use.n=TRUE) Thanks a lot! Nathalia Machado -- View this message in context: http://r.789695.n4.nabble.com/Classification-tree-Uniform-vertical-spacing-of-the-nodes-tp4450916p4450916.html Sent from the R help mailing list archive at Nabble.com.