Aliases: rsq.rpart
Keywords: tree
### ** Examples z.auto <- rpart(Mileage ~ Weight, car.test.frame) rsq.rpart(z.auto)
Regression tree: rpart(formula = Mileage ~ Weight, data = car.test.frame) Variables actually used in tree construction: [1] Weight Root node error: 1354.6/60 = 22.576 n= 60 CP nsplit rel error xerror xstd 1 0.595349 0 1.00000 1.03344 0.177558 2 0.134528 1 0.40465 0.49136 0.073366 3 0.012828 2 0.27012 0.33687 0.056192 4 0.010000 3 0.25729 0.34339 0.055894