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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.