How can I extract the R-square from a fit rpart model?
rsq.rpart(fit)
plots the two graphs, but I simply want to extract the R-square value for the full tree.
I assume this is fairly obvious, but numerous searches didn't really lend anything useful. Any help you can provide will be greatly appreciated.